public class JdbcBatchExecuteRequest 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| Modifier | Constructor and Description |
|---|---|
|
JdbcBatchExecuteRequest()
Default constructor.
|
protected |
JdbcBatchExecuteRequest(byte type)
Constructor for child requests.
|
protected |
JdbcBatchExecuteRequest(byte type,
String schemaName,
List<JdbcQuery> queries,
boolean autoCommit,
boolean lastStreamBatch)
Constructor for child requests.
|
|
JdbcBatchExecuteRequest(String schemaName,
List<JdbcQuery> queries,
boolean autoCommit,
boolean lastStreamBatch) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLastStreamBatch() |
List<JdbcQuery> |
queries() |
void |
readBinary(BinaryReaderExImpl reader,
JdbcProtocolContext protoCtx)
Reads fields from provided reader.
|
@Nullable String |
schemaName() |
String |
toString() |
void |
writeBinary(BinaryWriterExImpl writer,
JdbcProtocolContext protoCtx)
Writes fields to provided writer.
|
readRequest, readRequestId, readType, requestId, typepublic JdbcBatchExecuteRequest()
protected JdbcBatchExecuteRequest(byte type)
type - Request type/public JdbcBatchExecuteRequest(String schemaName, List<JdbcQuery> queries, boolean autoCommit, boolean lastStreamBatch)
schemaName - Schema name.queries - Queries.autoCommit - Client auto commit flag state.lastStreamBatch - true in case the request is the last batch at the stream.protected JdbcBatchExecuteRequest(byte type,
String schemaName,
List<JdbcQuery> queries,
boolean autoCommit,
boolean lastStreamBatch)
type - Request type.schemaName - Schema name.queries - Queries.autoCommit - Client auto commit flag state.lastStreamBatch - true in case the request is the last batch at the stream.@Nullable public @Nullable String schemaName()
public boolean isLastStreamBatch()
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 String toString()
toString in class JdbcRequest
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020