Package org.apache.derby.impl.tools.ij
Class ijResultImpl
- java.lang.Object
-
- org.apache.derby.impl.tools.ij.ijResultImpl
-
- All Implemented Interfaces:
ijResult
- Direct Known Subclasses:
ijConnectionResult
,ijExceptionResult
,ijMultipleResultSetResult
,ijMultiResult
,ijResultSetResult
,ijRowResult
,ijStatementResult
,ijVectorResult
,ijWarningResult
abstract class ijResultImpl extends java.lang.Object implements ijResult
This is an empty impl for reuse of code.
-
-
Constructor Summary
Constructors Constructor Description ijResultImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
clearSQLWarnings()
void
closeStatement()
int[]
getColumnDisplayList()
int[]
getColumnWidthList()
java.sql.Connection
getConnection()
java.sql.SQLException
getException()
java.util.List<java.sql.ResultSet>
getMultipleResultSets()
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
isMultipleResultSetResult()
boolean
isNextRowOfResultSet()
boolean
isResultSet()
boolean
isStatement()
boolean
isUpdateCount()
boolean
isVector()
java.lang.String
toString()
-
-
-
Method Detail
-
isConnection
public boolean isConnection()
- Specified by:
isConnection
in interfaceijResult
-
isStatement
public boolean isStatement()
- Specified by:
isStatement
in interfaceijResult
-
isResultSet
public boolean isResultSet() throws java.sql.SQLException
- Specified by:
isResultSet
in interfaceijResult
- Throws:
java.sql.SQLException
-
isUpdateCount
public boolean isUpdateCount() throws java.sql.SQLException
- Specified by:
isUpdateCount
in interfaceijResult
- Throws:
java.sql.SQLException
-
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSet
in interfaceijResult
-
isException
public boolean isException()
- Specified by:
isException
in interfaceijResult
-
isMultipleResultSetResult
public boolean isMultipleResultSetResult()
- Specified by:
isMultipleResultSetResult
in interfaceijResult
-
hasWarnings
public boolean hasWarnings() throws java.sql.SQLException
- Specified by:
hasWarnings
in interfaceijResult
- Throws:
java.sql.SQLException
-
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnection
in interfaceijResult
-
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatement
in interfaceijResult
-
getUpdateCount
public int getUpdateCount() throws java.sql.SQLException
- Specified by:
getUpdateCount
in interfaceijResult
- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException
- Specified by:
getResultSet
in interfaceijResult
- Throws:
java.sql.SQLException
-
getMultipleResultSets
public java.util.List<java.sql.ResultSet> getMultipleResultSets()
- Specified by:
getMultipleResultSets
in interfaceijResult
-
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSet
in interfaceijResult
-
getException
public java.sql.SQLException getException()
- Specified by:
getException
in interfaceijResult
-
getColumnDisplayList
public int[] getColumnDisplayList()
- Specified by:
getColumnDisplayList
in interfaceijResult
-
getColumnWidthList
public int[] getColumnWidthList()
- Specified by:
getColumnWidthList
in interfaceijResult
-
closeStatement
public void closeStatement() throws java.sql.SQLException
- Specified by:
closeStatement
in interfaceijResult
- Throws:
java.sql.SQLException
-
getSQLWarnings
public abstract java.sql.SQLWarning getSQLWarnings() throws java.sql.SQLException
- Specified by:
getSQLWarnings
in interfaceijResult
- Throws:
java.sql.SQLException
-
clearSQLWarnings
public abstract void clearSQLWarnings() throws java.sql.SQLException
- Specified by:
clearSQLWarnings
in interfaceijResult
- Throws:
java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-