Package org.apache.derby.impl.tools.ij
Class ijStatementResult
java.lang.Object
org.apache.derby.impl.tools.ij.ijResultImpl
org.apache.derby.impl.tools.ij.ijStatementResult
- All Implemented Interfaces:
ijResult
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
int
boolean
boolean
boolean
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
getColumnDisplayList, getColumnWidthList, getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getVector, hasWarnings, isConnection, isException, isMulti, isMultipleResultSetResult, isNextRowOfResultSet, isVector, toString
-
Field Details
-
statement
Statement statement -
closeWhenDone
boolean closeWhenDone
-
-
Constructor Details
-
ijStatementResult
ijStatementResult(Statement s, boolean c)
-
-
Method Details
-
isStatement
public boolean isStatement()- Specified by:
isStatement
in interfaceijResult
- Overrides:
isStatement
in classijResultImpl
-
isResultSet
- Specified by:
isResultSet
in interfaceijResult
- Overrides:
isResultSet
in classijResultImpl
- Throws:
SQLException
-
isUpdateCount
- Specified by:
isUpdateCount
in interfaceijResult
- Overrides:
isUpdateCount
in classijResultImpl
- Throws:
SQLException
-
getStatement
- Specified by:
getStatement
in interfaceijResult
- Overrides:
getStatement
in classijResultImpl
-
getUpdateCount
- Specified by:
getUpdateCount
in interfaceijResult
- Overrides:
getUpdateCount
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
-
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
-