| |
|
| java.lang.Object org.relique.jdbc.csv.CsvStatement
CsvStatement | public class CsvStatement implements Statement(Code) | | This class implements the Statement interface for the CsvJdbc driver.
author: Zoran Milakovic |
CsvStatement | protected CsvStatement(CsvConnection connection)(Code) | | Constructor for the CsvStatement object
Parameters: connection - Description of Parameter |
addBatch | public void addBatch(String p0) throws SQLException(Code) | | Adds a feature to the Batch attribute of the CsvStatement object
Parameters: p0 - The feature to be added to the Batch attribute exception: SQLException - Description of Exception |
close | public void close() throws SQLException(Code) | | Releases this Statement object's database
and JDBC resources immediately instead of waiting for
this to happen when it is automatically closed.
It is generally good practice to release resources as soon as
you are finished with them to avoid tying up database
resources.
Calling the method close on a Statement
object that is already closed has no effect.
Note: A Statement object is automatically closed
when it is garbage collected. When a Statement object is
closed, its current ResultSet object, if one exists, is
also closed.
exception: SQLException - if a database access error occurs |
execute | public boolean execute(String sql) throws SQLException(Code) | | Description of the Method
Parameters: sql - Description of Parameter Description of the Returned Value exception: SQLException - Description of Exception |
executeBatch | public int[] executeBatch() throws SQLException(Code) | | Description of the Method
Description of the Returned Value exception: SQLException - Description of Exception |
executeQuery | public ResultSet executeQuery(String sql) throws SQLException(Code) | | Description of the Method
Parameters: sql - Description of Parameter Description of the Returned Value exception: SQLException - Description of Exception |
executeUpdate | public int executeUpdate(String sql) throws SQLException(Code) | | Description of the Method
Parameters: sql - Description of Parameter Description of the Returned Value exception: SQLException - Description of Exception |
getConnection | public Connection getConnection() throws SQLException(Code) | | Gets the connection attribute of the CsvStatement object
The connection value exception: SQLException - Description of Exception |
getFetchDirection | public int getFetchDirection() throws SQLException(Code) | | Gets the fetchDirection attribute of the CsvStatement object
The fetchDirection value exception: SQLException - Description of Exception |
getFetchSize | public int getFetchSize() throws SQLException(Code) | | Gets the fetchSize attribute of the CsvStatement object
The fetchSize value exception: SQLException - Description of Exception |
getMaxFieldSize | public int getMaxFieldSize() throws SQLException(Code) | | Gets the maxFieldSize attribute of the CsvStatement object
The maxFieldSize value exception: SQLException - Description of Exception |
getMaxRows | public int getMaxRows() throws SQLException(Code) | | Gets the maxRows attribute of the CsvStatement object
The maxRows value exception: SQLException - Description of Exception |
getMoreResults | public boolean getMoreResults() throws SQLException(Code) | | Gets the moreResults attribute of the CsvStatement object
The moreResults value exception: SQLException - Description of Exception |
getQueryTimeout | public int getQueryTimeout() throws SQLException(Code) | | Gets the queryTimeout attribute of the CsvStatement object
The queryTimeout value exception: SQLException - Description of Exception |
getResultSet | public ResultSet getResultSet() throws SQLException(Code) | | Gets the resultSet attribute of the CsvStatement object
The resultSet value exception: SQLException - Description of Exception |
getResultSetConcurrency | public int getResultSetConcurrency() throws SQLException(Code) | | Gets the resultSetConcurrency attribute of the CsvStatement object
The resultSetConcurrency value exception: SQLException - Description of Exception |
getResultSetType | public int getResultSetType() throws SQLException(Code) | | Gets the resultSetType attribute of the CsvStatement object
The resultSetType value exception: SQLException - Description of Exception |
getUpdateCount | public int getUpdateCount() throws SQLException(Code) | | Gets the updateCount attribute of the CsvStatement object
The updateCount value exception: SQLException - Description of Exception |
setCursorName | public void setCursorName(String p0) throws SQLException(Code) | | Sets the cursorName attribute of the CsvStatement object
Parameters: p0 - The new cursorName value exception: SQLException - Description of Exception |
setEscapeProcessing | public void setEscapeProcessing(boolean p0) throws SQLException(Code) | | Sets the escapeProcessing attribute of the CsvStatement object
Parameters: p0 - The new escapeProcessing value exception: SQLException - Description of Exception |
setFetchDirection | public void setFetchDirection(int p0) throws SQLException(Code) | | Sets the fetchDirection attribute of the CsvStatement object
Parameters: p0 - The new fetchDirection value exception: SQLException - Description of Exception |
setFetchSize | public void setFetchSize(int p0) throws SQLException(Code) | | Sets the fetchSize attribute of the CsvStatement object
Parameters: p0 - The new fetchSize value exception: SQLException - Description of Exception |
setMaxFieldSize | public void setMaxFieldSize(int p0) throws SQLException(Code) | | Sets the maxFieldSize attribute of the CsvStatement object
Parameters: p0 - The new maxFieldSize value exception: SQLException - Description of Exception |
setMaxRows | public void setMaxRows(int p0) throws SQLException(Code) | | Sets the maxRows attribute of the CsvStatement object
Parameters: p0 - The new maxRows value exception: SQLException - Description of Exception |
setQueryTimeout | public void setQueryTimeout(int p0) throws SQLException(Code) | | Sets the queryTimeout attribute of the CsvStatement object
Parameters: p0 - The new queryTimeout value exception: SQLException - Description of Exception |
|
|
|