パッケージ org.postgresql.core
インタフェース BaseStatement
- すべてのスーパーインタフェース:
AutoCloseable
,PGStatement
,Statement
,Wrapper
- 既知の実装クラスのリスト:
PgStatement
Driver-internal statement interface. Application code should not use this interface.
-
フィールドの概要
インタフェースから継承されたフィールド org.postgresql.PGStatement
DATE_NEGATIVE_INFINITY, DATE_NEGATIVE_SMALLER_INFINITY, DATE_POSITIVE_INFINITY, DATE_POSITIVE_SMALLER_INFINITY
インタフェースから継承されたフィールド java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
メソッドの概要
修飾子とタイプメソッド説明createDriverResultSet
(Field[] fields, List<Tuple> tuples) Create a synthetic resultset from data provided by the driver.createResultSet
(Query originalQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) Create a resultset from data retrieved from the server.boolean
executeWithFlags
(int flags) Execute a prepared query, passing additional query flags.boolean
executeWithFlags
(String sql, int flags) Execute a query, passing additional query flags.boolean
executeWithFlags
(CachedQuery cachedQuery, int flags) Execute a query, passing additional query flags.インタフェースから継承されたメソッド org.postgresql.PGStatement
getAdaptiveFetch, getLastOID, getPrepareThreshold, isUseServerPrepare, setAdaptiveFetch, setPrepareThreshold, setUseServerPrepare
インタフェースから継承されたメソッド java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
インタフェースから継承されたメソッド java.sql.Wrapper
isWrapperFor, unwrap
-
メソッドの詳細
-
createDriverResultSet
Create a synthetic resultset from data provided by the driver.- パラメータ:
fields
- the column metadata for the resultsettuples
- the resultset data- 戻り値:
- the new ResultSet
- 例外:
SQLException
- if something goes wrong
-
createResultSet
ResultSet createResultSet(Query originalQuery, Field[] fields, List<Tuple> tuples, ResultCursor cursor) throws SQLException Create a resultset from data retrieved from the server.- パラメータ:
originalQuery
- the query that generated this resultset; used when dealing with updateable resultsetsfields
- the column metadata for the resultsettuples
- the resultset datacursor
- the cursor to use to retrieve more data from the server; if null, no additional data is present.- 戻り値:
- the new ResultSet
- 例外:
SQLException
- if something goes wrong
-
executeWithFlags
Execute a query, passing additional query flags.- パラメータ:
sql
- the query to execute (JDBC-style query)flags
- additionalQueryExecutor
flags for execution; these are bitwise-ORed into the default flags.- 戻り値:
- true if there is a result set
- 例外:
SQLException
- if something goes wrong.
-
executeWithFlags
Execute a query, passing additional query flags.- パラメータ:
cachedQuery
- the query to execute (native to PostgreSQL)flags
- additionalQueryExecutor
flags for execution; these are bitwise-ORed into the default flags.- 戻り値:
- true if there is a result set
- 例外:
SQLException
- if something goes wrong.
-
executeWithFlags
Execute a prepared query, passing additional query flags.- パラメータ:
flags
- additionalQueryExecutor
flags for execution; these are bitwise-ORed into the default flags.- 戻り値:
- true if there is a result set
- 例外:
SQLException
- if something goes wrong.
-