Package 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.
-
-
Constructor Summary
Constructors Constructor Description ijRowResult(java.sql.ResultSet r, boolean hadRow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearSQLWarnings()
java.sql.ResultSet
getNextRowOfResultSet()
java.sql.SQLWarning
getSQLWarnings()
boolean
isNextRowOfResultSet()
-
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
closeStatement, getColumnDisplayList, getColumnWidthList, getConnection, getException, getMultipleResultSets, getResultSet, getStatement, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMulti, isMultipleResultSetResult, isResultSet, isStatement, isUpdateCount, isVector, toString
-
-
-
-
Method Detail
-
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSet
in interfaceijResult
- Overrides:
isNextRowOfResultSet
in classijResultImpl
-
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSet
in interfaceijResult
- Overrides:
getNextRowOfResultSet
in classijResultImpl
-
getSQLWarnings
public java.sql.SQLWarning getSQLWarnings() throws java.sql.SQLException
- Specified by:
getSQLWarnings
in interfaceijResult
- Specified by:
getSQLWarnings
in classijResultImpl
- Throws:
java.sql.SQLException
-
clearSQLWarnings
public void clearSQLWarnings() throws java.sql.SQLException
- Specified by:
clearSQLWarnings
in interfaceijResult
- Specified by:
clearSQLWarnings
in classijResultImpl
- Throws:
java.sql.SQLException
-
-