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

java.lang.Object
  extended by org.apache.derby.impl.tools.ij.ijResultImpl
      extended by org.apache.derby.impl.tools.ij.ijMultiResult
All Implemented Interfaces:
ijResult

 class ijMultiResult
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
           
private  java.sql.ResultSet rs
           
private  java.sql.Statement statement
           
 
Constructor Summary
ijMultiResult(java.sql.Statement s, java.sql.ResultSet rs, boolean c)
           
 
Method Summary
 void clearSQLWarnings()
           
 void closeStatement()
           
 java.sql.ResultSet getResultSet()
           
 java.sql.SQLWarning getSQLWarnings()
           
 java.sql.Statement getStatement()
           
 boolean isMulti()
           
 
Methods inherited from class org.apache.derby.impl.tools.ij.ijResultImpl
getColumnDisplayList, getColumnWidthList, getConnection, getException, getMultipleResultSets, getNextRowOfResultSet, getUpdateCount, getVector, hasWarnings, isConnection, isException, isMultipleResultSetResult, isNextRowOfResultSet, isResultSet, isStatement, isUpdateCount, isVector, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

statement

private java.sql.Statement statement

rs

private java.sql.ResultSet rs

closeWhenDone

boolean closeWhenDone
Constructor Detail

ijMultiResult

ijMultiResult(java.sql.Statement s,
              java.sql.ResultSet rs,
              boolean c)
Method Detail

isMulti

public boolean isMulti()
Specified by:
isMulti in interface ijResult
Overrides:
isMulti in class ijResultImpl

getStatement

public java.sql.Statement getStatement()
Specified by:
getStatement in interface ijResult
Overrides:
getStatement in class ijResultImpl

getResultSet

public java.sql.ResultSet getResultSet()
Specified by:
getResultSet in interface ijResult
Overrides:
getResultSet in class ijResultImpl

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()
Specified by:
getSQLWarnings in interface ijResult
Specified by:
getSQLWarnings in class ijResultImpl

clearSQLWarnings

public void clearSQLWarnings()
Specified by:
clearSQLWarnings in interface ijResult
Specified by:
clearSQLWarnings in class ijResultImpl

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.