|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> tools >> [ ij overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.tools.ij
Class ijStatementResult

java.lang.Objectorg.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.
| Field Summary | |
(package private) boolean |
closeWhenDone
|
(package private) java.sql.Statement |
statement
|
| Constructor Summary | |
(package private) |
ijStatementResult(java.sql.Statement s,
boolean c)
|
| Method Summary | |
void |
clearSQLWarnings()
|
void |
closeStatement()
|
java.sql.Connection |
getConnection()
|
java.sql.SQLException |
getException()
|
java.sql.ResultSet |
getNextRowOfResultSet()
|
java.sql.ResultSet |
getResultSet()
|
java.sql.SQLWarning |
getSQLWarnings()
|
java.sql.Statement |
getStatement()
|
int |
getUpdateCount()
|
java.util.Vector |
getVector()
|
boolean |
hasWarnings()
|
boolean |
isConnection()
|
boolean |
isException()
|
boolean |
isMulti()
|
boolean |
isNextRowOfResultSet()
|
boolean |
isResultSet()
|
boolean |
isStatement()
|
boolean |
isUpdateCount()
|
boolean |
isVector()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
statement
java.sql.Statement statement
closeWhenDone
boolean closeWhenDone
| Constructor Detail |
ijStatementResult
ijStatementResult(java.sql.Statement s, boolean c)
| Method Detail |
isStatement
public boolean isStatement()
- Specified by:
isStatementin interfaceijResult- Overrides:
isStatementin classijResultImpl
isResultSet
public boolean isResultSet()
throws java.sql.SQLException
- Specified by:
isResultSetin interfaceijResult- Overrides:
isResultSetin classijResultImpl
isUpdateCount
public boolean isUpdateCount()
throws java.sql.SQLException
- Specified by:
isUpdateCountin interfaceijResult- Overrides:
isUpdateCountin classijResultImpl
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatementin interfaceijResult- Overrides:
getStatementin classijResultImpl
getUpdateCount
public int getUpdateCount()
throws java.sql.SQLException
- Specified by:
getUpdateCountin interfaceijResult- Overrides:
getUpdateCountin classijResultImpl
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
- Specified by:
getResultSetin interfaceijResult- Overrides:
getResultSetin classijResultImpl
closeStatement
public void closeStatement()
throws java.sql.SQLException
- Specified by:
closeStatementin interfaceijResult- Overrides:
closeStatementin classijResultImpl
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings() throws java.sql.SQLException
- Specified by:
getSQLWarningsin interfaceijResult- Specified by:
getSQLWarningsin classijResultImpl
clearSQLWarnings
public void clearSQLWarnings()
throws java.sql.SQLException
- Specified by:
clearSQLWarningsin interfaceijResult- Specified by:
clearSQLWarningsin classijResultImpl
isConnection
public boolean isConnection()
- Specified by:
isConnectionin interfaceijResult
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSetin interfaceijResult
isVector
public boolean isVector()
isMulti
public boolean isMulti()
isException
public boolean isException()
- Specified by:
isExceptionin interfaceijResult
hasWarnings
public boolean hasWarnings()
throws java.sql.SQLException
- Specified by:
hasWarningsin interfaceijResult
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnectionin interfaceijResult
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSetin interfaceijResult
getVector
public java.util.Vector getVector()
getException
public java.sql.SQLException getException()
- Specified by:
getExceptionin interfaceijResult
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> tools >> [ ij overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC