Package io.dingodb.meta
Interface Meta.TableDefinitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.TableDefinition,Meta.TableDefinition.Builder
- Enclosing class:
- Meta
public static interface Meta.TableDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsProperties(String key) map<string, string> properties = 40;longint64 auto_increment = 4;string charset = 6;com.google.protobuf.ByteStringstring charset = 6;intuint32 codec_version = 65;string collate = 7;com.google.protobuf.ByteStringstring collate = 7;getColumns(int index) repeated .dingodb.pb.meta.ColumnDefinition columns = 30;intrepeated .dingodb.pb.meta.ColumnDefinition columns = 30;repeated .dingodb.pb.meta.ColumnDefinition columns = 30;getColumnsOrBuilder(int index) repeated .dingodb.pb.meta.ColumnDefinition columns = 30;List<? extends Meta.ColumnDefinitionOrBuilder>repeated .dingodb.pb.meta.ColumnDefinition columns = 30;string comment = 60;com.google.protobuf.ByteStringstring comment = 60;string create_sql = 5;com.google.protobuf.ByteStringstring create_sql = 5;longint64 create_timestamp = 51;longint64 delete_timestamp = 53;.dingodb.pb.common.Engine engine = 22;int.dingodb.pb.common.Engine engine = 22;for indexfor indexgetName()string name = 1;com.google.protobuf.ByteStringstring name = 1;Deprecated.intmap<string, string> properties = 40;map<string, string> properties = 40;getPropertiesOrDefault(String key, String defaultValue) map<string, string> properties = 40;map<string, string> properties = 40;intuint32 replica = 21;longint64 revision = 100;string row_format = 62;com.google.protobuf.ByteStringstring row_format = 62;.dingodb.pb.common.SchemaState schemaState = 63;int.dingodb.pb.common.SchemaState schemaState = 63;.dingodb.pb.common.StorageEngine store_engine = 23;int.dingodb.pb.common.StorageEngine store_engine = 23;.dingodb.pb.meta.PartitionRule table_partition = 20;.dingodb.pb.meta.PartitionRule table_partition = 20;string table_type = 61;com.google.protobuf.ByteStringstring table_type = 61;longgetTtl()int64 ttl = 3;longint64 update_timestamp = 52;intuint32 version = 2;booleanbool visible = 64;booleanfor indexboolean.dingodb.pb.meta.PartitionRule table_partition = 20;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 1;- Returns:
- The bytes for name.
-
getVersion
int getVersion()uint32 version = 2;- Returns:
- The version.
-
getTtl
long getTtl()int64 ttl = 3;- Returns:
- The ttl.
-
getAutoIncrement
long getAutoIncrement()int64 auto_increment = 4;- Returns:
- The autoIncrement.
-
getCreateSql
String getCreateSql()string create_sql = 5;- Returns:
- The createSql.
-
getCreateSqlBytes
com.google.protobuf.ByteString getCreateSqlBytes()string create_sql = 5;- Returns:
- The bytes for createSql.
-
getCharset
String getCharset()string charset = 6;- Returns:
- The charset.
-
getCharsetBytes
com.google.protobuf.ByteString getCharsetBytes()string charset = 6;- Returns:
- The bytes for charset.
-
getCollate
String getCollate()string collate = 7;- Returns:
- The collate.
-
getCollateBytes
com.google.protobuf.ByteString getCollateBytes()string collate = 7;- Returns:
- The bytes for collate.
-
hasTablePartition
boolean hasTablePartition().dingodb.pb.meta.PartitionRule table_partition = 20;- Returns:
- Whether the tablePartition field is set.
-
getTablePartition
Meta.PartitionRule getTablePartition().dingodb.pb.meta.PartitionRule table_partition = 20;- Returns:
- The tablePartition.
-
getTablePartitionOrBuilder
Meta.PartitionRuleOrBuilder getTablePartitionOrBuilder().dingodb.pb.meta.PartitionRule table_partition = 20; -
getReplica
int getReplica()uint32 replica = 21;- Returns:
- The replica.
-
getEngineValue
int getEngineValue().dingodb.pb.common.Engine engine = 22;- Returns:
- The enum numeric value on the wire for engine.
-
getEngine
Common.Engine getEngine().dingodb.pb.common.Engine engine = 22;- Returns:
- The engine.
-
getStoreEngineValue
int getStoreEngineValue().dingodb.pb.common.StorageEngine store_engine = 23;- Returns:
- The enum numeric value on the wire for storeEngine.
-
getStoreEngine
Common.StorageEngine getStoreEngine().dingodb.pb.common.StorageEngine store_engine = 23;- Returns:
- The storeEngine.
-
getColumnsList
List<Meta.ColumnDefinition> getColumnsList()repeated .dingodb.pb.meta.ColumnDefinition columns = 30; -
getColumns
repeated .dingodb.pb.meta.ColumnDefinition columns = 30; -
getColumnsCount
int getColumnsCount()repeated .dingodb.pb.meta.ColumnDefinition columns = 30; -
getColumnsOrBuilderList
List<? extends Meta.ColumnDefinitionOrBuilder> getColumnsOrBuilderList()repeated .dingodb.pb.meta.ColumnDefinition columns = 30; -
getColumnsOrBuilder
repeated .dingodb.pb.meta.ColumnDefinition columns = 30; -
getPropertiesCount
int getPropertiesCount()map<string, string> properties = 40; -
containsProperties
map<string, string> properties = 40; -
getProperties
Deprecated.UsegetPropertiesMap()instead. -
getPropertiesMap
map<string, string> properties = 40; -
getPropertiesOrDefault
map<string, string> properties = 40; -
getPropertiesOrThrow
map<string, string> properties = 40; -
hasIndexParameter
boolean hasIndexParameter()for index
.dingodb.pb.common.IndexParameter index_parameter = 41;- Returns:
- Whether the indexParameter field is set.
-
getIndexParameter
Common.IndexParameter getIndexParameter()for index
.dingodb.pb.common.IndexParameter index_parameter = 41;- Returns:
- The indexParameter.
-
getIndexParameterOrBuilder
Common.IndexParameterOrBuilder getIndexParameterOrBuilder()for index
.dingodb.pb.common.IndexParameter index_parameter = 41; -
getCreateTimestamp
long getCreateTimestamp()int64 create_timestamp = 51;- Returns:
- The createTimestamp.
-
getUpdateTimestamp
long getUpdateTimestamp()int64 update_timestamp = 52;- Returns:
- The updateTimestamp.
-
getDeleteTimestamp
long getDeleteTimestamp()int64 delete_timestamp = 53;- Returns:
- The deleteTimestamp.
-
getComment
String getComment()string comment = 60;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()string comment = 60;- Returns:
- The bytes for comment.
-
getTableType
String getTableType()string table_type = 61;- Returns:
- The tableType.
-
getTableTypeBytes
com.google.protobuf.ByteString getTableTypeBytes()string table_type = 61;- Returns:
- The bytes for tableType.
-
getRowFormat
String getRowFormat()string row_format = 62;- Returns:
- The rowFormat.
-
getRowFormatBytes
com.google.protobuf.ByteString getRowFormatBytes()string row_format = 62;- Returns:
- The bytes for rowFormat.
-
getSchemaStateValue
int getSchemaStateValue().dingodb.pb.common.SchemaState schemaState = 63;- Returns:
- The enum numeric value on the wire for schemaState.
-
getSchemaState
Common.SchemaState getSchemaState().dingodb.pb.common.SchemaState schemaState = 63;- Returns:
- The schemaState.
-
getVisible
boolean getVisible()bool visible = 64;- Returns:
- The visible.
-
getCodecVersion
int getCodecVersion()uint32 codec_version = 65;- Returns:
- The codecVersion.
-
getRevision
long getRevision()int64 revision = 100;- Returns:
- The revision.
-