| Package | Description |
|---|---|
| com.impossibl.postgres.jdbc | |
| com.impossibl.postgres.protocol | |
| com.impossibl.postgres.protocol.v30 | |
| com.impossibl.postgres.system |
| Modifier and Type | Method and Description |
|---|---|
static Query |
Query.create(String sqlText,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers) |
static Query |
Query.create(String statement,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
ResultField[] resultFields) |
| Modifier and Type | Class and Description |
|---|---|
class |
FieldFormat |
class |
ResultField |
| Modifier and Type | Method and Description |
|---|---|
void |
RequestExecutor.call(int functionId,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
RequestExecutor.FunctionCallHandler handler)
Invokes the function specified by
functionId and returns its
results. |
void |
RequestExecutor.execute(String portalName,
String statementName,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
FieldFormatRef[] resultFieldFormats,
int maxRows,
RequestExecutor.ExecuteHandler handler)
Uses the "extended" query protocol to execute a previously prepared query.
|
void |
RequestExecutor.execute(String portalName,
String statementName,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
FieldFormatRef[] resultFieldFormats,
int maxRows,
RequestExecutor.ExecuteHandler handler)
Uses the "extended" query protocol to execute a previously prepared query.
|
void |
RequestExecutor.query(String sql,
String portalName,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
FieldFormatRef[] resultFieldFormats,
int maxRows,
RequestExecutor.ExtendedQueryHandler handler)
Uses the "extended" query protocol to execute the given query.
|
void |
RequestExecutor.query(String sql,
String portalName,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
FieldFormatRef[] resultFieldFormats,
int maxRows,
RequestExecutor.ExtendedQueryHandler handler)
Uses the "extended" query protocol to execute the given query.
|
| Constructor and Description |
|---|
FunctionCallRequest(int functionId,
FieldFormatRef[] parameterFormats,
io.netty.buffer.ByteBuf[] parameterBuffers,
RequestExecutor.FunctionCallHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected ResultBatch |
BasicContext.queryBatchPrepared(String queryTxt,
FieldFormatRef[] paramFormats,
io.netty.buffer.ByteBuf[] paramBuffers,
long timeout)
Queries a single result batch (the first) via a parameterized query.
|