public class JdbcOrderedBatchExecuteRequest extends JdbcBatchExecuteRequest implements Comparable<JdbcOrderedBatchExecuteRequest>
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 |
|---|
JdbcOrderedBatchExecuteRequest()
Default constructor.
|
JdbcOrderedBatchExecuteRequest(String schemaName,
List<JdbcQuery> queries,
boolean autoCommit,
boolean lastStreamBatch,
long order) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(@NotNull JdbcOrderedBatchExecuteRequest o) |
long |
order() |
void |
readBinary(BinaryReaderExImpl reader,
JdbcProtocolContext protoCtx)
Reads fields from provided reader.
|
String |
toString() |
void |
writeBinary(BinaryWriterExImpl writer,
JdbcProtocolContext protoCtx)
Writes fields to provided writer.
|
isLastStreamBatch, queries, schemaNamereadRequest, readRequestId, readType, requestId, typepublic JdbcOrderedBatchExecuteRequest()
public JdbcOrderedBatchExecuteRequest(String schemaName, List<JdbcQuery> queries, boolean autoCommit, boolean lastStreamBatch, long order)
schemaName - Schema name.queries - Queries.autoCommit - Client auto commit flag state.lastStreamBatch - true in case the request is the last batch at the stream.order - Request order.public long order()
public void writeBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx) throws BinaryObjectException
writeBinary in interface JdbcRawBinarylizablewriteBinary in class JdbcBatchExecuteRequestwriter - 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 JdbcBatchExecuteRequestreader - Binary object reader.protoCtx - JDBC protocol context.BinaryObjectException - In case of error.public String toString()
toString in class JdbcBatchExecuteRequestpublic int compareTo(@NotNull
@NotNull JdbcOrderedBatchExecuteRequest o)
compareTo in interface Comparable<JdbcOrderedBatchExecuteRequest>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021