public class SQLite4JStatement extends java.lang.Object implements Statement
Constructor and Description |
---|
SQLite4JStatement(java.sql.Statement stat) |
Modifier and Type | Method and Description |
---|---|
void |
addBatch(java.lang.String sql) |
void |
cancel() |
void |
clearBatch() |
void |
clearWarnings() |
void |
close() |
boolean |
execute(java.lang.String sql) |
int[] |
executeBatch() |
ResultSet |
executeQuery(java.lang.String sql) |
int |
executeUpdate(java.lang.String sql) |
Connection |
getConnection() |
int |
getFetchDirection() |
int |
getFetchSize() |
int |
getMaxRows() |
boolean |
getMoreResults() |
int |
getQueryTimeout() |
ResultSet |
getResultSet() |
int |
getResultSetConcurrency() |
int |
getResultSetType() |
int |
getUpdateCount() |
java.sql.SQLWarning |
getWarnings() |
void |
setCursorName(java.lang.String name) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
void |
setMaxRows(int max) |
void |
setQueryTimeout(int seconds) |
public ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException
executeQuery
in interface Statement
java.sql.SQLException
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException
executeUpdate
in interface Statement
java.sql.SQLException
public void close() throws java.sql.SQLException
public int getMaxRows() throws java.sql.SQLException
getMaxRows
in interface Statement
java.sql.SQLException
public void setMaxRows(int max) throws java.sql.SQLException
setMaxRows
in interface Statement
java.sql.SQLException
public int getQueryTimeout() throws java.sql.SQLException
getQueryTimeout
in interface Statement
java.sql.SQLException
public void setQueryTimeout(int seconds) throws java.sql.SQLException
setQueryTimeout
in interface Statement
java.sql.SQLException
public void cancel() throws java.sql.SQLException
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface Statement
java.sql.SQLException
public void clearWarnings() throws java.sql.SQLException
clearWarnings
in interface Statement
java.sql.SQLException
public void setCursorName(java.lang.String name) throws java.sql.SQLException
setCursorName
in interface Statement
java.sql.SQLException
public boolean execute(java.lang.String sql) throws java.sql.SQLException
public ResultSet getResultSet() throws java.sql.SQLException
getResultSet
in interface Statement
java.sql.SQLException
public int getUpdateCount() throws java.sql.SQLException
getUpdateCount
in interface Statement
java.sql.SQLException
public boolean getMoreResults() throws java.sql.SQLException
getMoreResults
in interface Statement
java.sql.SQLException
public void setFetchDirection(int direction) throws java.sql.SQLException
setFetchDirection
in interface Statement
java.sql.SQLException
public int getFetchDirection() throws java.sql.SQLException
getFetchDirection
in interface Statement
java.sql.SQLException
public void setFetchSize(int rows) throws java.sql.SQLException
setFetchSize
in interface Statement
java.sql.SQLException
public int getFetchSize() throws java.sql.SQLException
getFetchSize
in interface Statement
java.sql.SQLException
public int getResultSetConcurrency() throws java.sql.SQLException
getResultSetConcurrency
in interface Statement
java.sql.SQLException
public int getResultSetType() throws java.sql.SQLException
getResultSetType
in interface Statement
java.sql.SQLException
public void addBatch(java.lang.String sql) throws java.sql.SQLException
public void clearBatch() throws java.sql.SQLException
clearBatch
in interface Statement
java.sql.SQLException
public int[] executeBatch() throws java.sql.SQLException
executeBatch
in interface Statement
java.sql.SQLException
public Connection getConnection() throws java.sql.SQLException
getConnection
in interface Statement
java.sql.SQLException