ijResultpublic 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, toStringprivate 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.SQLExceptionpublic 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.SQLExceptionpublic boolean isResultSet()
throws java.sql.SQLException
isResultSet in interface ijResultisResultSet in class ijResultImpljava.sql.SQLExceptionpublic java.sql.ResultSet getResultSet()
throws java.sql.SQLException
getResultSet in interface ijResultgetResultSet in class ijResultImpljava.sql.SQLExceptionpublic void closeStatement()
throws java.sql.SQLException
closeStatement in interface ijResultcloseStatement in class ijResultImpljava.sql.SQLExceptionpublic int[] getColumnDisplayList()
getColumnDisplayList in interface ijResultgetColumnDisplayList in class ijResultImplpublic int[] getColumnWidthList()
getColumnWidthList in interface ijResultgetColumnWidthList in class ijResultImplpublic java.sql.SQLWarning getSQLWarnings()
throws java.sql.SQLException
getSQLWarnings in interface ijResultgetSQLWarnings in class ijResultImpljava.sql.SQLExceptionpublic void clearSQLWarnings()
throws java.sql.SQLException
clearSQLWarnings in interface ijResultclearSQLWarnings in class ijResultImpljava.sql.SQLExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.