Package org.apache.derby.impl.tools.ij
Class ijResultSetResult
java.lang.Object
org.apache.derby.impl.tools.ij.ijResultImpl
org.apache.derby.impl.tools.ij.ijResultSetResult
- All Implemented Interfaces:
ijResult
This impl is intended to be used with a resultset,
where the execution of the statement is already complete.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a ijResultImpl that represents a result set.ijResultSetResult
(ResultSet r, int[] display, int[] widths) Create a ijResultImpl that represents a result set, only displaying a subset of the columns, using specified column widths. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int[]
int[]
boolean
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getStatement, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMulti, isMultipleResultSetResult, isNextRowOfResultSet, isStatement, isUpdateCount, isVector, toString
-
Field Details
-
resultSet
-
statement
-
displayColumns
private int[] displayColumns -
columnWidths
private int[] columnWidths
-
-
Constructor Details
-
ijResultSetResult
Create a ijResultImpl that represents a result set.- Throws:
SQLException
-
ijResultSetResult
Create a ijResultImpl that represents a result set, only displaying a subset of the columns, using specified column widths.- Parameters:
r
- The result set to displaydisplay
- Which column numbers to display, or null to display all columns.widths
- The widths of the columns specified in 'display', or null to display using default column sizes.- Throws:
SQLException
-
-
Method Details
-
isResultSet
- Specified by:
isResultSet
in interfaceijResult
- Overrides:
isResultSet
in classijResultImpl
- Throws:
SQLException
-
getResultSet
- Specified by:
getResultSet
in interfaceijResult
- Overrides:
getResultSet
in classijResultImpl
- Throws:
SQLException
-
closeStatement
- Specified by:
closeStatement
in interfaceijResult
- Overrides:
closeStatement
in classijResultImpl
- Throws:
SQLException
-
getColumnDisplayList
public int[] getColumnDisplayList()- Specified by:
getColumnDisplayList
in interfaceijResult
- Overrides:
getColumnDisplayList
in classijResultImpl
-
getColumnWidthList
public int[] getColumnWidthList()- Specified by:
getColumnWidthList
in interfaceijResult
- Overrides:
getColumnWidthList
in classijResultImpl
-
getSQLWarnings
- Specified by:
getSQLWarnings
in interfaceijResult
- Specified by:
getSQLWarnings
in classijResultImpl
- Throws:
SQLException
-
clearSQLWarnings
- Specified by:
clearSQLWarnings
in interfaceijResult
- Specified by:
clearSQLWarnings
in classijResultImpl
- Throws:
SQLException
-