org.apache.derby.impl.tools.ij
Class ijRowResult

java.lang.Object
  extended by org.apache.derby.impl.tools.ij.ijResultImpl
      extended by 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.


Field Summary
(package private)  boolean hadRow
           
(package private)  java.sql.ResultSet rowResult
           
 
Constructor Summary
ijRowResult(java.sql.ResultSet r, boolean hadRow)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rowResult

java.sql.ResultSet rowResult

hadRow

boolean hadRow
Constructor Detail

ijRowResult

public ijRowResult(java.sql.ResultSet r,
                   boolean hadRow)
Method Detail

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

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.