public class JdbcQueryExecuteRequest extends JdbcRequest
BATCH_EXEC, BINARY_TYPE_GET, BINARY_TYPE_NAME_GET, BINARY_TYPE_NAME_PUT, BINARY_TYPE_PUT, CACHE_PARTITIONS, META_COLUMNS, META_INDEXES, META_PARAMS, META_PRIMARY_KEYS, META_SCHEMAS, META_TABLES, QRY_EXEC, QRY_METAHANDSHAKE| Constructor and Description |
|---|
JdbcQueryExecuteRequest(JdbcStatementType stmtType,
String schemaName,
int pageSize,
int maxRows,
boolean autoCommit,
boolean explicitTimeout,
String sqlQry,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
arguments() |
JdbcStatementType |
expectedStatementType() |
boolean |
explicitTimeout() |
int |
maxRows() |
int |
pageSize() |
boolean |
partitionResponseRequest() |
void |
partitionResponseRequest(boolean partResReq) |
void |
readBinary(BinaryReaderExImpl reader,
JdbcProtocolContext protoCtx)
Reads fields from provided reader.
|
@Nullable String |
schemaName() |
String |
sqlQuery() |
String |
toString() |
void |
writeBinary(BinaryWriterExImpl writer,
JdbcProtocolContext protoCtx)
Writes fields to provided writer.
|
readRequest, readRequestId, readType, requestId, typepublic JdbcQueryExecuteRequest(JdbcStatementType stmtType, String schemaName, int pageSize, int maxRows, boolean autoCommit, boolean explicitTimeout, String sqlQry, Object[] args)
stmtType - Expected statement type.schemaName - Cache name.pageSize - Fetch size.maxRows - Max rows.autoCommit - Connection auto commit flag state.sqlQry - SQL query.args - Arguments list.public int pageSize()
public int maxRows()
public String sqlQuery()
public Object[] arguments()
@Nullable public @Nullable String schemaName()
public JdbcStatementType expectedStatementType()
public void writeBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx) throws BinaryObjectException
writeBinary in interface JdbcRawBinarylizablewriteBinary in class JdbcRequestwriter - Binary object writer.protoCtx - JDBC protocol context.BinaryObjectException - In case of error.public void readBinary(BinaryReaderExImpl reader, JdbcProtocolContext protoCtx) throws BinaryObjectException
readBinary in interface JdbcRawBinarylizablereadBinary in class JdbcRequestreader - Binary object reader.protoCtx - JDBC protocol context.BinaryObjectException - In case of error.public boolean partitionResponseRequest()
public void partitionResponseRequest(boolean partResReq)
partResReq - New partition response request.public boolean explicitTimeout()
true if the query timeout is set explicitly by Statement.setQueryTimeout(int).
Otherwise returns false.public String toString()
toString in class JdbcRequest
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021