Package org.apache.derby.impl.tools.ij
Class ijMultiResult
- java.lang.Object
-
- org.apache.derby.impl.tools.ij.ijResultImpl
-
- org.apache.derby.impl.tools.ij.ijMultiResult
-
- All Implemented Interfaces:
ijResult
class ijMultiResult extends ijResultImpl
This is an impl for a statement execution; the result is either an update count or result set depending on what was executed.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleancloseWhenDoneprivate java.sql.ResultSetrsprivate java.sql.Statementstatement
-
Constructor Summary
Constructors Constructor Description ijMultiResult(java.sql.Statement s, java.sql.ResultSet rs, boolean c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearSQLWarnings()voidcloseStatement()java.sql.ResultSetgetResultSet()java.sql.SQLWarninggetSQLWarnings()java.sql.StatementgetStatement()booleanisMulti()-
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
getColumnDisplayList, getColumnWidthList, getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMultipleResultSetResult, isNextRowOfResultSet, isResultSet, isStatement, isUpdateCount, isVector, toString
-
-
-
-
Method Detail
-
isMulti
public boolean isMulti()
- Specified by:
isMultiin interfaceijResult- Overrides:
isMultiin classijResultImpl
-
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatementin interfaceijResult- Overrides:
getStatementin classijResultImpl
-
getResultSet
public java.sql.ResultSet getResultSet()
- Specified by:
getResultSetin interfaceijResult- Overrides:
getResultSetin classijResultImpl
-
closeStatement
public void closeStatement() throws java.sql.SQLException- Specified by:
closeStatementin interfaceijResult- Overrides:
closeStatementin classijResultImpl- Throws:
java.sql.SQLException
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
- Specified by:
getSQLWarningsin interfaceijResult- Specified by:
getSQLWarningsin classijResultImpl
-
clearSQLWarnings
public void clearSQLWarnings()
- Specified by:
clearSQLWarningsin interfaceijResult- Specified by:
clearSQLWarningsin classijResultImpl
-
-