| org.postgresql.core.BaseStatement
All known Subclasses: org.postgresql.jdbc2.AbstractJdbc2Statement,
BaseStatement | public interface BaseStatement extends PGStatement,Statement(Code) | | Driver-internal statement interface. Application code should not use
this interface.
|
Method Summary | |
public ResultSet | createDriverResultSet(Field[] fields, Vector tuples) Create a synthetic resultset from data provided by the driver. | public ResultSet | createResultSet(Query originalQuery, Field[] fields, Vector tuples, ResultCursor cursor) Create a resultset from data retrieved from the server.
Parameters: originalQuery - the query that generated this resultset; used when dealing with updateable resultsets Parameters: fields - the column metadata for the resultset Parameters: tuples - the resultset data Parameters: cursor - the cursor to use to retrieve more data from the server; if null, no additional data is present. | public boolean | executeWithFlags(String p_sql, int flags) Execute a query, passing additional query flags. | public boolean | executeWithFlags(int flags) Execute a prepared query, passing additional query flags. |
createDriverResultSet | public ResultSet createDriverResultSet(Field[] fields, Vector tuples) throws SQLException(Code) | | Create a synthetic resultset from data provided by the driver.
Parameters: fields - the column metadata for the resultset Parameters: tuples - the resultset data the new ResultSet throws: SQLException - if something goes wrong |
createResultSet | public ResultSet createResultSet(Query originalQuery, Field[] fields, Vector tuples, ResultCursor cursor) throws SQLException(Code) | | Create a resultset from data retrieved from the server.
Parameters: originalQuery - the query that generated this resultset; used when dealing with updateable resultsets Parameters: fields - the column metadata for the resultset Parameters: tuples - the resultset data Parameters: cursor - the cursor to use to retrieve more data from the server; if null, no additional data is present. the new ResultSet throws: SQLException - if something goes wrong |
executeWithFlags | public boolean executeWithFlags(String p_sql, int flags) throws SQLException(Code) | | Execute a query, passing additional query flags.
Parameters: p_sql - the query to execute Parameters: flags - additional QueryExecutor flags for execution; theseare bitwise-ORed into the default flags. throws: SQLException - if something goes wrong. |
executeWithFlags | public boolean executeWithFlags(int flags) throws SQLException(Code) | | Execute a prepared query, passing additional query flags.
Parameters: flags - additional QueryExecutor flags for execution; theseare bitwise-ORed into the default flags. throws: SQLException - if something goes wrong. |
|
|