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 voidclearSQLWarnings()voidcloseStatement()int[]getColumnDisplayList()int[]getColumnWidthList()java.sql.ConnectiongetConnection()java.sql.SQLExceptiongetException()java.util.List<java.sql.ResultSet>getMultipleResultSets()java.sql.ResultSetgetNextRowOfResultSet()java.sql.ResultSetgetResultSet()abstract java.sql.SQLWarninggetSQLWarnings()java.sql.StatementgetStatement()intgetUpdateCount()java.util.VectorgetVector()booleanhasWarnings()booleanisConnection()booleanisException()booleanisMulti()booleanisMultipleResultSetResult()booleanisNextRowOfResultSet()booleanisResultSet()booleanisStatement()booleanisUpdateCount()booleanisVector()java.lang.StringtoString()
-
-
-
Method Detail
-
isConnection
public boolean isConnection()
- Specified by:
isConnectionin interfaceijResult
-
isStatement
public boolean isStatement()
- Specified by:
isStatementin interfaceijResult
-
isResultSet
public boolean isResultSet() throws java.sql.SQLException- Specified by:
isResultSetin interfaceijResult- Throws:
java.sql.SQLException
-
isUpdateCount
public boolean isUpdateCount() throws java.sql.SQLException- Specified by:
isUpdateCountin interfaceijResult- Throws:
java.sql.SQLException
-
isNextRowOfResultSet
public boolean isNextRowOfResultSet()
- Specified by:
isNextRowOfResultSetin interfaceijResult
-
isException
public boolean isException()
- Specified by:
isExceptionin interfaceijResult
-
isMultipleResultSetResult
public boolean isMultipleResultSetResult()
- Specified by:
isMultipleResultSetResultin interfaceijResult
-
hasWarnings
public boolean hasWarnings() throws java.sql.SQLException- Specified by:
hasWarningsin interfaceijResult- Throws:
java.sql.SQLException
-
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnectionin interfaceijResult
-
getStatement
public java.sql.Statement getStatement()
- Specified by:
getStatementin interfaceijResult
-
getUpdateCount
public int getUpdateCount() throws java.sql.SQLException- Specified by:
getUpdateCountin interfaceijResult- Throws:
java.sql.SQLException
-
getResultSet
public java.sql.ResultSet getResultSet() throws java.sql.SQLException- Specified by:
getResultSetin interfaceijResult- Throws:
java.sql.SQLException
-
getMultipleResultSets
public java.util.List<java.sql.ResultSet> getMultipleResultSets()
- Specified by:
getMultipleResultSetsin interfaceijResult
-
getNextRowOfResultSet
public java.sql.ResultSet getNextRowOfResultSet()
- Specified by:
getNextRowOfResultSetin interfaceijResult
-
getException
public java.sql.SQLException getException()
- Specified by:
getExceptionin interfaceijResult
-
getColumnDisplayList
public int[] getColumnDisplayList()
- Specified by:
getColumnDisplayListin interfaceijResult
-
getColumnWidthList
public int[] getColumnWidthList()
- Specified by:
getColumnWidthListin interfaceijResult
-
closeStatement
public void closeStatement() throws java.sql.SQLException- Specified by:
closeStatementin interfaceijResult- Throws:
java.sql.SQLException
-
getSQLWarnings
public abstract java.sql.SQLWarning getSQLWarnings() throws java.sql.SQLException- Specified by:
getSQLWarningsin interfaceijResult- Throws:
java.sql.SQLException
-
clearSQLWarnings
public abstract void clearSQLWarnings() throws java.sql.SQLException- Specified by:
clearSQLWarningsin interfaceijResult- Throws:
java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-