public static final class BinlogOuterClass.Binlog extends com.google.protobuf.GeneratedMessageV3 implements BinlogOuterClass.BinlogOrBuilder
Binlog contains all the changes in a transaction, which can be used to reconstruct SQL statement, then export to other systems.Protobuf type
binlog.Binlog| 限定符和类型 | 类和说明 |
|---|---|
static class |
BinlogOuterClass.Binlog.Builder
Binlog contains all the changes in a transaction, which can be used to reconstruct SQL statement, then export to
other systems.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
COMMIT_TS_FIELD_NUMBER |
static int |
DDL_JOB_ID_FIELD_NUMBER |
static int |
DDL_QUERY_FIELD_NUMBER |
static int |
DDL_SCHEMA_STATE_FIELD_NUMBER |
static com.google.protobuf.Parser<BinlogOuterClass.Binlog> |
PARSER
已过时。
|
static int |
PREWRITE_KEY_FIELD_NUMBER |
static int |
PREWRITE_VALUE_FIELD_NUMBER |
static int |
START_TS_FIELD_NUMBER |
static int |
TP_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
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.
|
static BinlogOuterClass.Binlog |
getDefaultInstance() |
BinlogOuterClass.Binlog |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<BinlogOuterClass.Binlog> |
getParserForType() |
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.
|
int |
getSerializedSize() |
long |
getStartTs()
start_ts is used in Prewrite, Commit and Rollback binlog Type.
|
BinlogOuterClass.BinlogType |
getTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false]; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BinlogOuterClass.Binlog.Builder |
newBuilder() |
static BinlogOuterClass.Binlog.Builder |
newBuilder(BinlogOuterClass.Binlog prototype) |
BinlogOuterClass.Binlog.Builder |
newBuilderForType() |
protected BinlogOuterClass.Binlog.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BinlogOuterClass.Binlog |
parseDelimitedFrom(InputStream input) |
static BinlogOuterClass.Binlog |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinlogOuterClass.Binlog |
parseFrom(byte[] data) |
static BinlogOuterClass.Binlog |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinlogOuterClass.Binlog |
parseFrom(ByteBuffer data) |
static BinlogOuterClass.Binlog |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinlogOuterClass.Binlog |
parseFrom(com.google.protobuf.ByteString data) |
static BinlogOuterClass.Binlog |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinlogOuterClass.Binlog |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BinlogOuterClass.Binlog |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BinlogOuterClass.Binlog |
parseFrom(InputStream input) |
static BinlogOuterClass.Binlog |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BinlogOuterClass.Binlog> |
parser() |
BinlogOuterClass.Binlog.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int TP_FIELD_NUMBER
public static final int START_TS_FIELD_NUMBER
public static final int COMMIT_TS_FIELD_NUMBER
public static final int PREWRITE_KEY_FIELD_NUMBER
public static final int PREWRITE_VALUE_FIELD_NUMBER
public static final int DDL_QUERY_FIELD_NUMBER
public static final int DDL_JOB_ID_FIELD_NUMBER
public static final int DDL_SCHEMA_STATE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<BinlogOuterClass.Binlog> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false];hasTp 在接口中 BinlogOuterClass.BinlogOrBuilderpublic BinlogOuterClass.BinlogType getTp()
optional .binlog.BinlogType tp = 1 [(.gogoproto.nullable) = false];getTp 在接口中 BinlogOuterClass.BinlogOrBuilderpublic 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];hasStartTs 在接口中 BinlogOuterClass.BinlogOrBuilderpublic 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];getStartTs 在接口中 BinlogOuterClass.BinlogOrBuilderpublic boolean hasCommitTs()
commit_ts is used only in binlog type Commit.
optional int64 commit_ts = 3 [(.gogoproto.nullable) = false];hasCommitTs 在接口中 BinlogOuterClass.BinlogOrBuilderpublic long getCommitTs()
commit_ts is used only in binlog type Commit.
optional int64 commit_ts = 3 [(.gogoproto.nullable) = false];getCommitTs 在接口中 BinlogOuterClass.BinlogOrBuilderpublic 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;public 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;public 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;public 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;public boolean hasDdlQuery()
ddl_query is the original DDL statement query.
optional bytes ddl_query = 6;hasDdlQuery 在接口中 BinlogOuterClass.BinlogOrBuilderpublic com.google.protobuf.ByteString getDdlQuery()
ddl_query is the original DDL statement query.
optional bytes ddl_query = 6;getDdlQuery 在接口中 BinlogOuterClass.BinlogOrBuilderpublic 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];hasDdlJobId 在接口中 BinlogOuterClass.BinlogOrBuilderpublic 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];getDdlJobId 在接口中 BinlogOuterClass.BinlogOrBuilderpublic boolean hasDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
optional int32 ddl_schema_state = 8 [(.gogoproto.nullable) = false];public int getDdlSchemaState()
ddl_schema_state is used for DDL Binlog.
optional int32 ddl_schema_state = 8 [(.gogoproto.nullable) = false];public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static BinlogOuterClass.Binlog parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BinlogOuterClass.Binlog parseFrom(InputStream input) throws IOException
IOExceptionpublic static BinlogOuterClass.Binlog parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BinlogOuterClass.Binlog parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BinlogOuterClass.Binlog parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BinlogOuterClass.Binlog parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BinlogOuterClass.Binlog parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BinlogOuterClass.Binlog.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static BinlogOuterClass.Binlog.Builder newBuilder()
public static BinlogOuterClass.Binlog.Builder newBuilder(BinlogOuterClass.Binlog prototype)
public BinlogOuterClass.Binlog.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected BinlogOuterClass.Binlog.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static BinlogOuterClass.Binlog getDefaultInstance()
public static com.google.protobuf.Parser<BinlogOuterClass.Binlog> parser()
public com.google.protobuf.Parser<BinlogOuterClass.Binlog> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public BinlogOuterClass.Binlog getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.