org.axiondb.jdbc

Class BaseAxionStatement

public abstract class BaseAxionStatement extends Object implements Statement

Abstract base Statementimplementation.

Version: $Revision: 1.10 $ $Date: 2005/12/20 18:32:27 $

Author: Chuck Burdick Rodney Waldhoff Jonathan Giron Ahimanikya Satapathy

Field Summary
protected ArrayList_batchContext
protected SQLWarning_warning
Constructor Summary
protected BaseAxionStatement(AxionConnection conn)
Method Summary
protected voidaddToBatchContext(Object obj)
protected voidassertOpen()
protected voidclearBatchContext()
protected voidclearConnection()
protected voidclearCurrentResult()
protected intclearCurrentUpdateCount()
voidclose()
protected voidcloseCurrentResultSet()
protected AxionConnectiongetAxionConnection()
protected IteratorgetBatchContext()
protected intgetBatchCount()
ConnectiongetConnection()
protected AxionResultSetgetCurrentResultSet()
protected intgetCurrentUpdateCount()
protected DatabasegetDatabase()
intgetMaxRows()
protected booleanhasCurrentResultSet()
AxionCommandparseCommand(String sql)
protected voidsetCurrentResult(boolean isrset, AxionCommand cmd)
protected voidsetCurrentResultSet(AxionResultSet rset)
protected voidsetCurrentUpdateCount(int count)
voidsetMaxRows(int max)

Field Detail

_batchContext

protected ArrayList _batchContext

_warning

protected SQLWarning _warning

Constructor Detail

BaseAxionStatement

protected BaseAxionStatement(AxionConnection conn)

Method Detail

addToBatchContext

protected final void addToBatchContext(Object obj)

assertOpen

protected final void assertOpen()

clearBatchContext

protected final void clearBatchContext()

clearConnection

protected final void clearConnection()

clearCurrentResult

protected void clearCurrentResult()

clearCurrentUpdateCount

protected int clearCurrentUpdateCount()

close

public void close()

closeCurrentResultSet

protected void closeCurrentResultSet()

getAxionConnection

protected final AxionConnection getAxionConnection()

getBatchContext

protected final Iterator getBatchContext()

getBatchCount

protected final int getBatchCount()

getConnection

public Connection getConnection()

getCurrentResultSet

protected final AxionResultSet getCurrentResultSet()

getCurrentUpdateCount

protected final int getCurrentUpdateCount()

getDatabase

protected final Database getDatabase()

getMaxRows

public int getMaxRows()

hasCurrentResultSet

protected final boolean hasCurrentResultSet()

parseCommand

public AxionCommand parseCommand(String sql)

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: BaseAxionStatement

setCurrentUpdateCount

protected final void setCurrentUpdateCount(int count)

setMaxRows

public void setMaxRows(int max)