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) boolean
closeWhenDone
private java.sql.ResultSet
rs
private java.sql.Statement
statement
-
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 void
clearSQLWarnings()
void
closeStatement()
java.sql.ResultSet
getResultSet()
java.sql.SQLWarning
getSQLWarnings()
java.sql.Statement
getStatement()
boolean
isMulti()
-
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:
isMulti
in interfaceijResult
- Overrides:
isMulti
in classijResultImpl
-
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatement
in interfaceijResult
- Overrides:
getStatement
in classijResultImpl
-
getResultSet
public java.sql.ResultSet getResultSet()
- Specified by:
getResultSet
in interfaceijResult
- Overrides:
getResultSet
in classijResultImpl
-
closeStatement
public void closeStatement() throws java.sql.SQLException
- Specified by:
closeStatement
in interfaceijResult
- Overrides:
closeStatement
in classijResultImpl
- Throws:
java.sql.SQLException
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
- Specified by:
getSQLWarnings
in interfaceijResult
- Specified by:
getSQLWarnings
in classijResultImpl
-
clearSQLWarnings
public void clearSQLWarnings()
- Specified by:
clearSQLWarnings
in interfaceijResult
- Specified by:
clearSQLWarnings
in classijResultImpl
-
-