public static interface BinlogOuterClass.BinlogOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCommitTs()
commit_ts is used only in binlog type Commit.
|
long |
getDdlJobId()
ddl_job_id is used for DDL Binlog.
|
com.google.protobuf.ByteString |
getDdlQuery()
ddl_query is the original DDL statement query.
|
int |
getDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
|
com.google.protobuf.ByteString |
getPrewriteKey()
prewrite key is used only in Prewrite binlog type.
|
com.google.protobuf.ByteString |
getPrewriteValue()
prewrite_data is marshalled from PrewriteData type,
we do not need to unmarshal prewrite data before the binlog have been successfully paired.
|
long |
getStartTs()
start_ts is used in Prewrite, Commit and Rollback binlog Type.
|
BinlogOuterClass.BinlogType |
getTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasCommitTs()
commit_ts is used only in binlog type Commit.
|
boolean |
hasDdlJobId()
ddl_job_id is used for DDL Binlog.
|
boolean |
hasDdlQuery()
ddl_query is the original DDL statement query.
|
boolean |
hasDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
|
boolean |
hasPrewriteKey()
prewrite key is used only in Prewrite binlog type.
|
boolean |
hasPrewriteValue()
prewrite_data is marshalled from PrewriteData type,
we do not need to unmarshal prewrite data before the binlog have been successfully paired.
|
boolean |
hasStartTs()
start_ts is used in Prewrite, Commit and Rollback binlog Type.
|
boolean |
hasTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false];
BinlogOuterClass.BinlogType getTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false];
boolean hasStartTs()
start_ts is used in Prewrite, Commit and Rollback binlog Type. It is used for pairing prewrite log to commit log or rollback log.
optional int64 start_ts = 2 [(.gogoproto.nullable) = false];
long getStartTs()
start_ts is used in Prewrite, Commit and Rollback binlog Type. It is used for pairing prewrite log to commit log or rollback log.
optional int64 start_ts = 2 [(.gogoproto.nullable) = false];
boolean hasCommitTs()
commit_ts is used only in binlog type Commit.
optional int64 commit_ts = 3 [(.gogoproto.nullable) = false];
long getCommitTs()
commit_ts is used only in binlog type Commit.
optional int64 commit_ts = 3 [(.gogoproto.nullable) = false];
boolean hasPrewriteKey()
prewrite key is used only in Prewrite binlog type. It is the primary key of the transaction, is used to check that the transaction is commited or not if it failed to pair to commit log or rollback log within a time window.
optional bytes prewrite_key = 4;
com.google.protobuf.ByteString getPrewriteKey()
prewrite key is used only in Prewrite binlog type. It is the primary key of the transaction, is used to check that the transaction is commited or not if it failed to pair to commit log or rollback log within a time window.
optional bytes prewrite_key = 4;
boolean hasPrewriteValue()
prewrite_data is marshalled from PrewriteData type, we do not need to unmarshal prewrite data before the binlog have been successfully paired.
optional bytes prewrite_value = 5;
com.google.protobuf.ByteString getPrewriteValue()
prewrite_data is marshalled from PrewriteData type, we do not need to unmarshal prewrite data before the binlog have been successfully paired.
optional bytes prewrite_value = 5;
boolean hasDdlQuery()
ddl_query is the original DDL statement query.
optional bytes ddl_query = 6;
com.google.protobuf.ByteString getDdlQuery()
ddl_query is the original DDL statement query.
optional bytes ddl_query = 6;
boolean hasDdlJobId()
ddl_job_id is used for DDL Binlog. If ddl_job_id is setted, this is a DDL Binlog and ddl_query contains the DDL query, we can query the informations about this job from TiKV.
optional int64 ddl_job_id = 7 [(.gogoproto.nullable) = false];
long getDdlJobId()
ddl_job_id is used for DDL Binlog. If ddl_job_id is setted, this is a DDL Binlog and ddl_query contains the DDL query, we can query the informations about this job from TiKV.
optional int64 ddl_job_id = 7 [(.gogoproto.nullable) = false];
boolean hasDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
optional int32 ddl_schema_state = 8 [(.gogoproto.nullable) = false];
int getDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
optional int32 ddl_schema_state = 8 [(.gogoproto.nullable) = false];
Copyright © 2024 PingCAP. All rights reserved.