|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.jdbc.BaseAxionStatement
org.axiondb.jdbc.AxionStatement
public class AxionStatement
A Statement implementation.
| Field Summary |
|---|
| Fields inherited from class org.axiondb.jdbc.BaseAxionStatement |
|---|
_batchContext, _warning |
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Constructor Summary | |
|---|---|
protected |
AxionStatement(AxionConnection conn)
|
protected |
AxionStatement(AxionConnection conn,
int resultSetType,
int resultSetConcurrency)
|
| Method Summary | ||
|---|---|---|
void |
addBatch(String sql)
|
|
protected void |
addWarning(SQLWarning newWarning)
Adds the given SQLWarning to the current chain of SQLWarnings, or sets it as the first in the chain. |
|
void |
cancel()
|
|
void |
clearBatch()
|
|
void |
clearWarnings()
|
|
protected boolean |
execute(AxionCommand cmd)
|
|
boolean |
execute(String sql)
|
|
boolean |
execute(String sql,
int autoGeneratedKeys)
Currently unsupported when autoGeneratedKeys is not Statement.NO_GENERATED_KEYS. |
|
boolean |
execute(String sql,
int[] columnIndexes)
Currently unsupported. |
|
boolean |
execute(String sql,
String[] columnNames)
Currently unsupported. |
|
int[] |
executeBatch()
|
|
protected ResultSet |
executeQuery(AxionCommand cmd)
|
|
ResultSet |
executeQuery(String sql)
|
|
protected int |
executeUpdate(AxionCommand cmd)
|
|
int |
executeUpdate(String sql)
|
|
int |
executeUpdate(String sql,
int autoGeneratedKeys)
Currently unsupported when auotGeneratedKeys is not Statement.NO_GENERATED_KEYS. |
|
int |
executeUpdate(String arg0,
int[] arg1)
Currently unsupported. |
|
int |
executeUpdate(String arg0,
String[] arg1)
Currently unsupported. |
|
int |
getFetchDirection()
|
|
int |
getFetchSize()
|
|
ResultSet |
getGeneratedKeys()
|
|
int |
getMaxFieldSize()
|
|
boolean |
getMoreResults()
|
|
boolean |
getMoreResults(int current)
Currently unsupported when current is not Statement.CLOSE_CURRENT_RESULT or Statement.CLOSE_ALL_RESULTS. |
|
int |
getQueryTimeout()
|
|
ResultSet |
getResultSet()
|
|
int |
getResultSetConcurrency()
|
|
int |
getResultSetHoldability()
Supported. |
|
int |
getResultSetType()
|
|
int |
getUpdateCount()
|
|
SQLWarning |
getWarnings()
|
|
boolean |
isClosed()
|
|
boolean |
isPoolable()
|
|
boolean |
isWrapperFor(Class<?> arg0)
|
|
void |
setCursorName(String name)
|
|
void |
setEscapeProcessing(boolean enable)
|
|
void |
setFetchDirection(int direction)
|
|
void |
setFetchSize(int rows)
|
|
void |
setMaxFieldSize(int size)
|
|
void |
setPoolable(boolean arg0)
|
|
void |
setQueryTimeout(int seconds)
|
|
|
unwrap(Class<T> arg0)
|
|
| 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 |
|---|
close, getConnection, getMaxRows, setMaxRows |
| Constructor Detail |
|---|
protected AxionStatement(AxionConnection conn)
throws SQLException
SQLException
protected AxionStatement(AxionConnection conn,
int resultSetType,
int resultSetConcurrency)
throws SQLException
SQLException| Method Detail |
|---|
public void addBatch(String sql)
throws SQLException
addBatch in interface StatementSQLException
public void cancel()
throws SQLException
cancel in interface StatementSQLException
public void clearBatch()
throws SQLException
clearBatch in interface StatementSQLException
public void clearWarnings()
throws SQLException
clearWarnings in interface StatementSQLException
public int[] executeBatch()
throws SQLException
executeBatch in interface StatementSQLExceptionprotected void addWarning(SQLWarning newWarning)
w - SQLWarning to be added to the warning chain
public boolean execute(String sql)
throws SQLException
execute in interface StatementSQLException
public ResultSet executeQuery(String sql)
throws SQLException
executeQuery in interface StatementSQLException
public int executeUpdate(String sql)
throws SQLException
executeUpdate in interface StatementSQLException
public int getFetchDirection()
throws SQLException
getFetchDirection in interface StatementSQLException
public int getFetchSize()
throws SQLException
getFetchSize in interface StatementSQLException
public int getMaxFieldSize()
throws SQLException
getMaxFieldSize in interface StatementSQLException
public boolean getMoreResults()
throws SQLException
getMoreResults in interface StatementSQLException
public int getQueryTimeout()
throws SQLException
getQueryTimeout in interface StatementSQLException
public ResultSet getResultSet()
throws SQLException
getResultSet in interface StatementSQLException
public int getResultSetConcurrency()
throws SQLException
getResultSetConcurrency in interface StatementSQLException
public int getResultSetType()
throws SQLException
getResultSetType in interface StatementSQLException
public int getUpdateCount()
throws SQLException
getUpdateCount in interface StatementSQLException
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface StatementSQLException
public void setCursorName(String name)
throws SQLException
setCursorName in interface StatementSQLException
public void setEscapeProcessing(boolean enable)
throws SQLException
setEscapeProcessing in interface StatementSQLException
public void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface StatementSQLException
public void setFetchSize(int rows)
throws SQLException
setFetchSize in interface StatementSQLException
public void setMaxFieldSize(int size)
throws SQLException
setMaxFieldSize in interface StatementSQLException
public void setQueryTimeout(int seconds)
throws SQLException
setQueryTimeout in interface StatementSQLException
public ResultSet getGeneratedKeys()
throws SQLException
getGeneratedKeys in interface StatementSQLException
public boolean execute(String sql,
int autoGeneratedKeys)
throws SQLException
execute in interface StatementSQLException
public boolean execute(String sql,
int[] columnIndexes)
throws SQLException
execute in interface StatementSQLException
public boolean execute(String sql,
String[] columnNames)
throws SQLException
execute in interface StatementSQLException
public int executeUpdate(String sql,
int autoGeneratedKeys)
throws SQLException
executeUpdate in interface StatementSQLException
public int executeUpdate(String arg0,
int[] arg1)
throws SQLException
executeUpdate in interface StatementSQLException
public int executeUpdate(String arg0,
String[] arg1)
throws SQLException
executeUpdate in interface StatementSQLException
public boolean getMoreResults(int current)
throws SQLException
getMoreResults in interface StatementSQLException
public int getResultSetHoldability()
throws SQLException
getResultSetHoldability in interface StatementSQLException
protected final boolean execute(AxionCommand cmd)
throws SQLException
SQLException
protected final ResultSet executeQuery(AxionCommand cmd)
throws SQLException
SQLException
protected final int executeUpdate(AxionCommand cmd)
throws SQLException
SQLException
public boolean isClosed()
throws SQLException
isClosed in interface StatementSQLException
public boolean isPoolable()
throws SQLException
isPoolable in interface StatementSQLException
public void setPoolable(boolean arg0)
throws SQLException
setPoolable in interface StatementSQLException
public boolean isWrapperFor(Class<?> arg0)
throws SQLException
isWrapperFor in interface WrapperSQLException
public <T> T unwrap(Class<T> arg0)
throws SQLException
unwrap in interface WrapperSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||