Package | Description |
---|---|
org.postgresql.core | |
org.postgresql.core.v3 | |
org.postgresql.fastpath | |
org.postgresql.jdbc |
Modifier and Type | Method and Description |
---|---|
ParameterList |
ParameterList.copy()
Perform a shallow copy of this ParameterList, returning a new instance (still suitable for
passing to the owning Query).
|
ParameterList |
QueryExecutor.createFastpathParameters(int count)
Deprecated.
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
ParameterList |
Query.createParameterList()
Create a ParameterList suitable for storing parameters associated with this Query.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterList.appendAll(ParameterList list)
Use this operation to append more parameters to the current list.
|
void |
QueryExecutor.execute(Query[] queries,
ParameterList[] parameterLists,
BatchResultHandler handler,
int maxRows,
int fetchSize,
int flags)
Execute several Query, passing results to a provided ResultHandler.
|
void |
QueryExecutor.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags)
Execute a Query, passing results to a provided ResultHandler.
|
byte[] |
QueryExecutor.fastpathCall(int fnid,
ParameterList params,
boolean suppressBegin)
Deprecated.
This API is somewhat obsolete, as one may achieve similar performance
and greater functionality by setting up a prepared statement to define
the function call. Then, executing the statement with binary transmission of parameters
and results substitutes for a fast-path function call.
|
java.lang.String |
NativeQuery.toString(ParameterList parameters)
Stringize this query to a human-readable form, substituting particular parameter values for
parameter placeholders.
|
java.lang.String |
Query.toString(ParameterList parameters)
Stringize this query to a human-readable form, substituting particular parameter values for
parameter placeholders.
|
Modifier and Type | Interface and Description |
---|---|
(package private) interface |
V3ParameterList
Common interface for all V3 parameter list implementations.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CompositeParameterList
Parameter list for V3 query strings that contain multiple statements.
|
(package private) class |
SimpleParameterList
Parameter list for a single-statement V3 query.
|
Modifier and Type | Method and Description |
---|---|
ParameterList |
SimpleParameterList.copy() |
ParameterList |
CompositeParameterList.copy() |
ParameterList |
QueryExecutorImpl.createFastpathParameters(int count) |
ParameterList |
CompositeQuery.createParameterList() |
ParameterList |
SimpleQuery.createParameterList() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleParameterList.appendAll(ParameterList list) |
void |
CompositeParameterList.appendAll(ParameterList list) |
private java.lang.String |
BatchedQuery.buildNativeSql(ParameterList params) |
void |
QueryExecutorImpl.execute(Query[] queries,
ParameterList[] parameterLists,
BatchResultHandler batchHandler,
int maxRows,
int fetchSize,
int flags) |
void |
QueryExecutorImpl.execute(Query query,
ParameterList parameters,
ResultHandler handler,
int maxRows,
int fetchSize,
int flags) |
byte[] |
QueryExecutorImpl.fastpathCall(int fnid,
ParameterList parameters,
boolean suppressBegin) |
java.lang.String |
CompositeQuery.toString(ParameterList parameters) |
java.lang.String |
SimpleQuery.toString(ParameterList parameters) |
java.lang.String |
BatchedQuery.toString(ParameterList params) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
FastpathArg.populateParameter(ParameterList params,
int index)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private ParameterList[] |
BatchResultHandler.parameterLists |
protected ParameterList |
PgPreparedStatement.preparedParameters |
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList<ParameterList> |
PgStatement.batchParameters |
Modifier and Type | Method and Description |
---|---|
protected BatchResultHandler |
PgStatement.createBatchHandler(Query[] queries,
ParameterList[] parameterLists) |
protected BatchResultHandler |
PgCallableStatement.createBatchHandler(Query[] queries,
ParameterList[] parameterLists) |
protected void |
PgStatement.execute(CachedQuery cachedQuery,
ParameterList queryParameters,
int flags) |
private void |
PgStatement.executeInternal(CachedQuery cachedQuery,
ParameterList queryParameters,
int flags) |
Constructor and Description |
---|
BatchResultHandler(PgStatement pgStatement,
Query[] queries,
ParameterList[] parameterLists,
boolean expectGeneratedKeys) |
CallableBatchResultHandler(PgStatement statement,
Query[] queries,
ParameterList[] parameterLists) |