Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.impl.tools.ij
Class ijResultImpl  view ijResultImpl download ijResultImpl.java

java.lang.Object
  extended byorg.apache.derby.impl.tools.ij.ijResultImpl
All Implemented Interfaces:
ijResult
Direct Known Subclasses:
ijConnectionResult, ijExceptionResult, ijMultiResult, ijRowResult, ijStatementResult, ijVectorResult, ijWarningResult

abstract class ijResultImpl
extends java.lang.Object
implements ijResult

This is an empty impl for reuse of code.


Constructor Summary
(package private) ijResultImpl()
           
 
Method Summary
abstract  void clearSQLWarnings()
           
 void closeStatement()
           
 java.sql.Connection getConnection()
           
 java.sql.SQLException getException()
           
 java.sql.ResultSet getNextRowOfResultSet()
           
 java.sql.ResultSet getResultSet()
           
abstract  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
 

Constructor Detail

ijResultImpl

ijResultImpl()
Method Detail

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

isUpdateCount

public boolean isUpdateCount()
                      throws java.sql.SQLException
Specified by:
isUpdateCount in interface ijResult

isNextRowOfResultSet

public boolean isNextRowOfResultSet()
Specified by:
isNextRowOfResultSet in interface ijResult

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

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

getResultSet

public java.sql.ResultSet getResultSet()
                                throws java.sql.SQLException
Specified by:
getResultSet in interface ijResult

getNextRowOfResultSet

public java.sql.ResultSet getNextRowOfResultSet()
Specified by:
getNextRowOfResultSet in interface ijResult

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

getSQLWarnings

public abstract java.sql.SQLWarning getSQLWarnings()
                                            throws java.sql.SQLException
Specified by:
getSQLWarnings in interface ijResult

clearSQLWarnings

public abstract void clearSQLWarnings()
                               throws java.sql.SQLException
Specified by:
clearSQLWarnings in interface ijResult

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()).