org.apache.derby.impl.tools.ij
Class ijRowResult
java.lang.Object
org.apache.derby.impl.tools.ij.ijResultImpl
org.apache.derby.impl.tools.ij.ijRowResult
- All Implemented Interfaces:
- ijResult
- public class ijRowResult
- extends ijResultImpl
This is an impl for when 1 row of a result set is
the intended use of it. The caller *must not*
do a "next" on the result set. It's up to them
to make sure that doesn't happen.
- Author:
- ames
Field Summary |
(package private) boolean |
hadRow
|
(package private) java.sql.ResultSet |
rowResult
|
Constructor Summary |
ijRowResult(java.sql.ResultSet r,
boolean hadRow)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
rowResult
java.sql.ResultSet rowResult
hadRow
boolean hadRow
ijRowResult
public ijRowResult(java.sql.ResultSet r,
boolean hadRow)
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSet
in interface ijResult
- Overrides:
isNextRowOfResultSet
in class ijResultImpl
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSet
in interface ijResult
- Overrides:
getNextRowOfResultSet
in class ijResultImpl
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
isConnection
public boolean isConnection()
- Specified by:
isConnection
in interface ijResult
isStatement
public boolean isStatement()
- Specified by:
isStatement
in interface ijResult
isResultSet
public boolean isResultSet()
throws java.sql.SQLException
- Specified by:
isResultSet
in interface ijResult
- Throws:
java.sql.SQLException
isUpdateCount
public boolean isUpdateCount()
throws java.sql.SQLException
- Specified by:
isUpdateCount
in interface ijResult
- Throws:
java.sql.SQLException
isVector
public boolean isVector()
- Specified by:
isVector
in interface ijResult
isMulti
public boolean isMulti()
- Specified by:
isMulti
in interface ijResult
isException
public boolean isException()
- Specified by:
isException
in interface ijResult
hasWarnings
public boolean hasWarnings()
throws java.sql.SQLException
- Specified by:
hasWarnings
in interface ijResult
- Throws:
java.sql.SQLException
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnection
in interface ijResult
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatement
in interface ijResult
getUpdateCount
public int getUpdateCount()
throws java.sql.SQLException
- Specified by:
getUpdateCount
in interface ijResult
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet()
throws java.sql.SQLException
- Specified by:
getResultSet
in interface ijResult
- Throws:
java.sql.SQLException
getVector
public java.util.Vector getVector()
- Specified by:
getVector
in interface ijResult
getException
public java.sql.SQLException getException()
- Specified by:
getException
in interface ijResult
closeStatement
public void closeStatement()
throws java.sql.SQLException
- Specified by:
closeStatement
in interface ijResult
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.