ijResult
public class ijResultSetResult extends ijResultImpl
Modifier and Type | Field | Description |
---|---|---|
private int[] |
columnWidths |
|
private int[] |
displayColumns |
|
private java.sql.ResultSet |
resultSet |
|
private java.sql.Statement |
statement |
Constructor | Description |
---|---|
ijResultSetResult(java.sql.ResultSet r) |
Create a ijResultImpl that represents a result set.
|
ijResultSetResult(java.sql.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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
clearSQLWarnings() |
|
void |
closeStatement() |
|
int[] |
getColumnDisplayList() |
|
int[] |
getColumnWidthList() |
|
java.sql.ResultSet |
getResultSet() |
|
java.sql.SQLWarning |
getSQLWarnings() |
|
boolean |
isResultSet() |
getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getStatement, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMulti, isMultipleResultSetResult, isNextRowOfResultSet, isStatement, isUpdateCount, isVector, toString
private java.sql.ResultSet resultSet
private java.sql.Statement statement
private int[] displayColumns
private int[] columnWidths
public ijResultSetResult(java.sql.ResultSet r) throws java.sql.SQLException
java.sql.SQLException
public ijResultSetResult(java.sql.ResultSet r, int[] display, int[] widths) throws java.sql.SQLException
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.java.sql.SQLException
public boolean isResultSet() throws java.sql.SQLException
isResultSet
in interface ijResult
isResultSet
in class ijResultImpl
java.sql.SQLException
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
getResultSet
in interface ijResult
getResultSet
in class ijResultImpl
java.sql.SQLException
public void closeStatement() throws java.sql.SQLException
closeStatement
in interface ijResult
closeStatement
in class ijResultImpl
java.sql.SQLException
public int[] getColumnDisplayList()
getColumnDisplayList
in interface ijResult
getColumnDisplayList
in class ijResultImpl
public int[] getColumnWidthList()
getColumnWidthList
in interface ijResult
getColumnWidthList
in class ijResultImpl
public java.sql.SQLWarning getSQLWarnings() throws java.sql.SQLException
getSQLWarnings
in interface ijResult
getSQLWarnings
in class ijResultImpl
java.sql.SQLException
public void clearSQLWarnings() throws java.sql.SQLException
clearSQLWarnings
in interface ijResult
clearSQLWarnings
in class ijResultImpl
java.sql.SQLException
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.