org.axiondb.jdbc
Class BaseAxionStatement
java.lang.Object
org.axiondb.jdbc.BaseAxionStatement
- All Implemented Interfaces:
- Statement, Wrapper
- Direct Known Subclasses:
- AxionStatement
public abstract class BaseAxionStatement
- extends Object
- implements Statement
Abstract base Statement
implementation.
- Version:
- $Revision: 1.10 $ $Date: 2005/12/20 18:32:27 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Statement |
addBatch, cancel, clearBatch, clearWarnings, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setPoolable, setQueryTimeout |
_batchContext
protected ArrayList _batchContext
_warning
protected SQLWarning _warning
BaseAxionStatement
protected BaseAxionStatement(AxionConnection conn)
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Specified by:
close
in interface Statement
- Throws:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- Specified by:
getConnection
in interface Statement
- Throws:
SQLException
getMaxRows
public int getMaxRows()
throws SQLException
- Specified by:
getMaxRows
in interface Statement
- Throws:
SQLException
setMaxRows
public void setMaxRows(int max)
throws SQLException
- Specified by:
setMaxRows
in interface Statement
- Throws:
SQLException
assertOpen
protected final void assertOpen()
throws SQLException
- Throws:
SQLException
clearConnection
protected final void clearConnection()
clearCurrentResult
protected void clearCurrentResult()
throws SQLException
- Throws:
SQLException
clearCurrentUpdateCount
protected int clearCurrentUpdateCount()
closeCurrentResultSet
protected void closeCurrentResultSet()
throws SQLException
- Throws:
SQLException
getAxionConnection
protected final AxionConnection getAxionConnection()
throws SQLException
- Throws:
SQLException
getCurrentResultSet
protected final AxionResultSet getCurrentResultSet()
getCurrentUpdateCount
protected final int getCurrentUpdateCount()
getDatabase
protected final Database getDatabase()
throws AxionException
- Throws:
AxionException
hasCurrentResultSet
protected final boolean hasCurrentResultSet()
parseCommand
public AxionCommand parseCommand(String sql)
throws SQLException
- Throws:
SQLException
setCurrentResult
protected void setCurrentResult(boolean isrset,
AxionCommand cmd)
setCurrentResultSet
protected void setCurrentResultSet(AxionResultSet rset)
- Parameters:
rset
- the non- null
instance to set current ResultSet
to- See Also:
clearCurrentResult()
setCurrentUpdateCount
protected final void setCurrentUpdateCount(int count)
addToBatchContext
protected final void addToBatchContext(Object obj)
throws SQLException
- Throws:
SQLException
clearBatchContext
protected final void clearBatchContext()
getBatchContext
protected final Iterator getBatchContext()
getBatchCount
protected final int getBatchCount()