org.axiondb.jdbc

Class AxionStatement

public class AxionStatement extends BaseAxionStatement implements Statement

A Statement implementation.

Version: $Revision: 1.34 $ $Date: 2007/11/13 19:04:01 $

Author: Chuck Burdick Rodney Waldhoff Jonathan Giron Ahimanikya Satapathy

Constructor Summary
protected AxionStatement(AxionConnection conn)
protected AxionStatement(AxionConnection conn, int resultSetType, int resultSetConcurrency)
Method Summary
voidaddBatch(String sql)
protected voidaddWarning(SQLWarning newWarning)
Adds the given SQLWarning to the current chain of SQLWarnings, or sets it as the first in the chain.
voidcancel()
voidclearBatch()
voidclearWarnings()
booleanexecute(String sql)
booleanexecute(String sql, int autoGeneratedKeys)
Currently unsupported when autoGeneratedKeys is not Statement.NO_GENERATED_KEYS.
booleanexecute(String sql, int[] columnIndexes)
Currently unsupported.
booleanexecute(String sql, String[] columnNames)
Currently unsupported.
protected booleanexecute(AxionCommand cmd)
int[]executeBatch()
ResultSetexecuteQuery(String sql)
protected ResultSetexecuteQuery(AxionCommand cmd)
intexecuteUpdate(String sql)
intexecuteUpdate(String sql, int autoGeneratedKeys)
Currently unsupported when auotGeneratedKeys is not Statement.NO_GENERATED_KEYS.
intexecuteUpdate(String arg0, int[] arg1)
Currently unsupported.
intexecuteUpdate(String arg0, String[] arg1)
Currently unsupported.
protected intexecuteUpdate(AxionCommand cmd)
intgetFetchDirection()
intgetFetchSize()
ResultSetgetGeneratedKeys()
intgetMaxFieldSize()
booleangetMoreResults()
booleangetMoreResults(int current)
Currently unsupported when current is not Statement.CLOSE_CURRENT_RESULT or Statement.CLOSE_ALL_RESULTS.
intgetQueryTimeout()
ResultSetgetResultSet()
intgetResultSetConcurrency()
intgetResultSetHoldability()
Supported.
intgetResultSetType()
intgetUpdateCount()
SQLWarninggetWarnings()
voidsetCursorName(String name)
voidsetEscapeProcessing(boolean enable)
voidsetFetchDirection(int direction)
voidsetFetchSize(int rows)
voidsetMaxFieldSize(int size)
voidsetQueryTimeout(int seconds)

Constructor Detail

AxionStatement

protected AxionStatement(AxionConnection conn)

AxionStatement

protected AxionStatement(AxionConnection conn, int resultSetType, int resultSetConcurrency)

Method Detail

addBatch

public void addBatch(String sql)

addWarning

protected void addWarning(SQLWarning newWarning)
Adds the given SQLWarning to the current chain of SQLWarnings, or sets it as the first in the chain.

Parameters: w SQLWarning to be added to the warning chain

cancel

public void cancel()

clearBatch

public void clearBatch()

clearWarnings

public void clearWarnings()

execute

public boolean execute(String sql)

execute

public boolean execute(String sql, int autoGeneratedKeys)
Currently unsupported when autoGeneratedKeys is not Statement.NO_GENERATED_KEYS.

execute

public boolean execute(String sql, int[] columnIndexes)
Currently unsupported.

execute

public boolean execute(String sql, String[] columnNames)
Currently unsupported.

execute

protected final boolean execute(AxionCommand cmd)

executeBatch

public int[] executeBatch()

executeQuery

public ResultSet executeQuery(String sql)

executeQuery

protected final ResultSet executeQuery(AxionCommand cmd)

executeUpdate

public int executeUpdate(String sql)

executeUpdate

public int executeUpdate(String sql, int autoGeneratedKeys)
Currently unsupported when auotGeneratedKeys is not Statement.NO_GENERATED_KEYS.

executeUpdate

public int executeUpdate(String arg0, int[] arg1)
Currently unsupported.

executeUpdate

public int executeUpdate(String arg0, String[] arg1)
Currently unsupported.

executeUpdate

protected final int executeUpdate(AxionCommand cmd)

getFetchDirection

public int getFetchDirection()

getFetchSize

public int getFetchSize()

getGeneratedKeys

public ResultSet getGeneratedKeys()

getMaxFieldSize

public int getMaxFieldSize()

getMoreResults

public boolean getMoreResults()

getMoreResults

public boolean getMoreResults(int current)
Currently unsupported when current is not Statement.CLOSE_CURRENT_RESULT or Statement.CLOSE_ALL_RESULTS.

getQueryTimeout

public int getQueryTimeout()

getResultSet

public ResultSet getResultSet()

getResultSetConcurrency

public int getResultSetConcurrency()

getResultSetHoldability

public int getResultSetHoldability()
Supported.

getResultSetType

public int getResultSetType()

getUpdateCount

public int getUpdateCount()

getWarnings

public SQLWarning getWarnings()

setCursorName

public void setCursorName(String name)

setEscapeProcessing

public void setEscapeProcessing(boolean enable)

setFetchDirection

public void setFetchDirection(int direction)

setFetchSize

public void setFetchSize(int rows)

setMaxFieldSize

public void setMaxFieldSize(int size)

setQueryTimeout

public void setQueryTimeout(int seconds)