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
class ijStatementResult
- 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.
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
statement
java.sql.Statement statement
closeWhenDone
boolean closeWhenDone
ijStatementResult
ijStatementResult(java.sql.Statement s,
boolean c)
isStatement
public boolean isStatement()
- Specified by:
isStatement
in interface ijResult
- Overrides:
isStatement
in class ijResultImpl
isResultSet
public boolean isResultSet()
throws java.sql.SQLException
- Specified by:
isResultSet
in interface ijResult
- Overrides:
isResultSet
in class ijResultImpl
- Throws:
java.sql.SQLException
isUpdateCount
public boolean isUpdateCount()
throws java.sql.SQLException
- Specified by:
isUpdateCount
in interface ijResult
- Overrides:
isUpdateCount
in class ijResultImpl
- Throws:
java.sql.SQLException
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatement
in interface ijResult
- Overrides:
getStatement
in class ijResultImpl
getUpdateCount
public int getUpdateCount()
throws java.sql.SQLException
- Specified by:
getUpdateCount
in interface ijResult
- Overrides:
getUpdateCount
in class ijResultImpl
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet()
throws java.sql.SQLException
- Specified by:
getResultSet
in interface ijResult
- Overrides:
getResultSet
in class ijResultImpl
- Throws:
java.sql.SQLException
closeStatement
public void closeStatement()
throws java.sql.SQLException
- Specified by:
closeStatement
in interface ijResult
- Overrides:
closeStatement
in class ijResultImpl
- Throws:
java.sql.SQLException
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings()
throws java.sql.SQLException
- Specified by:
getSQLWarnings
in interface ijResult
- Specified by:
getSQLWarnings
in class ijResultImpl
- Throws:
java.sql.SQLException
clearSQLWarnings
public void clearSQLWarnings()
throws java.sql.SQLException
- Specified by:
clearSQLWarnings
in interface ijResult
- Specified by:
clearSQLWarnings
in class ijResultImpl
- Throws:
java.sql.SQLException
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.