public static final class CanalEntry.RowChange extends com.google.protobuf.GeneratedMessage implements CanalEntry.RowChangeOrBuilder
com.alibaba.otter.canal.protocol.RowChange
message row 每行变更数据的数据结构*
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CanalEntry.RowChange.Builder
Protobuf type
com.alibaba.otter.canal.protocol.RowChange
message row 每行变更数据的数据结构*
|
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DDLSCHEMANAME_FIELD_NUMBER |
static int |
EVENTTYPE_FIELD_NUMBER |
static int |
ISDDL_FIELD_NUMBER |
static com.google.protobuf.Parser<CanalEntry.RowChange> |
PARSER |
static int |
PROPS_FIELD_NUMBER |
static int |
ROWDATAS_FIELD_NUMBER |
static int |
SQL_FIELD_NUMBER |
static int |
TABLEID_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getDdlSchemaName()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
|
com.google.protobuf.ByteString |
getDdlSchemaNameBytes()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
|
static CanalEntry.RowChange |
getDefaultInstance() |
CanalEntry.RowChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CanalEntry.EventType |
getEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 2 [default = UPDATE];
数据变更类型*
|
boolean |
getIsDdl()
optional bool isDdl = 10 [default = false];
标识是否是ddl语句 *
|
com.google.protobuf.Parser<CanalEntry.RowChange> |
getParserForType() |
CanalEntry.Pair |
getProps(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
|
int |
getPropsCount()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
|
java.util.List<CanalEntry.Pair> |
getPropsList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
|
CanalEntry.PairOrBuilder |
getPropsOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
|
java.util.List<? extends CanalEntry.PairOrBuilder> |
getPropsOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
|
CanalEntry.RowData |
getRowDatas(int index)
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
|
int |
getRowDatasCount()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
|
java.util.List<CanalEntry.RowData> |
getRowDatasList()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
|
CanalEntry.RowDataOrBuilder |
getRowDatasOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
|
java.util.List<? extends CanalEntry.RowDataOrBuilder> |
getRowDatasOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
|
int |
getSerializedSize() |
java.lang.String |
getSql()
optional string sql = 11;
ddl/query的sql语句 *
|
com.google.protobuf.ByteString |
getSqlBytes()
optional string sql = 11;
ddl/query的sql语句 *
|
long |
getTableId()
optional int64 tableId = 1;
tableId,由数据库产生*
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDdlSchemaName()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
|
boolean |
hasEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 2 [default = UPDATE];
数据变更类型*
|
boolean |
hasIsDdl()
optional bool isDdl = 10 [default = false];
标识是否是ddl语句 *
|
boolean |
hasSql()
optional string sql = 11;
ddl/query的sql语句 *
|
boolean |
hasTableId()
optional int64 tableId = 1;
tableId,由数据库产生*
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CanalEntry.RowChange.Builder |
newBuilder() |
static CanalEntry.RowChange.Builder |
newBuilder(CanalEntry.RowChange prototype) |
CanalEntry.RowChange.Builder |
newBuilderForType() |
protected CanalEntry.RowChange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CanalEntry.RowChange |
parseDelimitedFrom(java.io.InputStream input) |
static CanalEntry.RowChange |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.RowChange |
parseFrom(byte[] data) |
static CanalEntry.RowChange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.RowChange |
parseFrom(com.google.protobuf.ByteString data) |
static CanalEntry.RowChange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.RowChange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CanalEntry.RowChange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.RowChange |
parseFrom(java.io.InputStream input) |
static CanalEntry.RowChange |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CanalEntry.RowChange.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<CanalEntry.RowChange> PARSER
public static final int TABLEID_FIELD_NUMBER
public static final int EVENTTYPE_FIELD_NUMBER
public static final int ISDDL_FIELD_NUMBER
public static final int SQL_FIELD_NUMBER
public static final int ROWDATAS_FIELD_NUMBER
public static final int PROPS_FIELD_NUMBER
public static final int DDLSCHEMANAME_FIELD_NUMBER
public static CanalEntry.RowChange getDefaultInstance()
public CanalEntry.RowChange getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<CanalEntry.RowChange> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasTableId()
optional int64 tableId = 1;
tableId,由数据库产生*
hasTableId 在接口中 CanalEntry.RowChangeOrBuilderpublic long getTableId()
optional int64 tableId = 1;
tableId,由数据库产生*
getTableId 在接口中 CanalEntry.RowChangeOrBuilderpublic boolean hasEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 2 [default = UPDATE];
数据变更类型*
hasEventType 在接口中 CanalEntry.RowChangeOrBuilderpublic CanalEntry.EventType getEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 2 [default = UPDATE];
数据变更类型*
getEventType 在接口中 CanalEntry.RowChangeOrBuilderpublic boolean hasIsDdl()
optional bool isDdl = 10 [default = false];
标识是否是ddl语句 *
hasIsDdl 在接口中 CanalEntry.RowChangeOrBuilderpublic boolean getIsDdl()
optional bool isDdl = 10 [default = false];
标识是否是ddl语句 *
getIsDdl 在接口中 CanalEntry.RowChangeOrBuilderpublic boolean hasSql()
optional string sql = 11;
ddl/query的sql语句 *
hasSql 在接口中 CanalEntry.RowChangeOrBuilderpublic java.lang.String getSql()
optional string sql = 11;
ddl/query的sql语句 *
getSql 在接口中 CanalEntry.RowChangeOrBuilderpublic com.google.protobuf.ByteString getSqlBytes()
optional string sql = 11;
ddl/query的sql语句 *
getSqlBytes 在接口中 CanalEntry.RowChangeOrBuilderpublic java.util.List<CanalEntry.RowData> getRowDatasList()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
getRowDatasList 在接口中 CanalEntry.RowChangeOrBuilderpublic java.util.List<? extends CanalEntry.RowDataOrBuilder> getRowDatasOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
public int getRowDatasCount()
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
public CanalEntry.RowData getRowDatas(int index)
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
getRowDatas 在接口中 CanalEntry.RowChangeOrBuilderpublic CanalEntry.RowDataOrBuilder getRowDatasOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.RowData rowDatas = 12;
一次数据库变更可能存在多行 *
public java.util.List<CanalEntry.Pair> getPropsList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
getPropsList 在接口中 CanalEntry.RowChangeOrBuilderpublic java.util.List<? extends CanalEntry.PairOrBuilder> getPropsOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
public int getPropsCount()
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
getPropsCount 在接口中 CanalEntry.RowChangeOrBuilderpublic CanalEntry.Pair getProps(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
getProps 在接口中 CanalEntry.RowChangeOrBuilderpublic CanalEntry.PairOrBuilder getPropsOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 13;
预留扩展*
public boolean hasDdlSchemaName()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
public java.lang.String getDdlSchemaName()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
public com.google.protobuf.ByteString getDdlSchemaNameBytes()
optional string ddlSchemaName = 14;
ddl/query的schemaName,会存在跨库ddl,需要保留执行ddl的当前schemaName *
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static CanalEntry.RowChange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.RowChange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.RowChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.RowChange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.RowChange parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.RowChange.Builder newBuilder()
public CanalEntry.RowChange.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CanalEntry.RowChange.Builder newBuilder(CanalEntry.RowChange prototype)
public CanalEntry.RowChange.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected CanalEntry.RowChange.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2019. All rights reserved.