Package io.dingodb.meta
Interface Meta.MetaEventIndexOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Meta.MetaEventIndex,Meta.MetaEventIndex.Builder
- Enclosing class:
- Meta
public static interface Meta.MetaEventIndexOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dingodb.pb.meta.TableDefinition definition = 2;.dingodb.pb.meta.TableDefinition definition = 2;longgetId()index id, this the index_id of the indexlongif the index is belongs to a table ,the parent_table_id is the table_id of the parent table.longint64 schema_id = 3;boolean.dingodb.pb.meta.TableDefinition definition = 2;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
-
getId
long getId()index id, this the index_id of the index
int64 id = 1;- Returns:
- The id.
-
hasDefinition
boolean hasDefinition().dingodb.pb.meta.TableDefinition definition = 2;- Returns:
- Whether the definition field is set.
-
getDefinition
Meta.TableDefinition getDefinition().dingodb.pb.meta.TableDefinition definition = 2;- Returns:
- The definition.
-
getDefinitionOrBuilder
Meta.TableDefinitionOrBuilder getDefinitionOrBuilder().dingodb.pb.meta.TableDefinition definition = 2; -
getSchemaId
long getSchemaId()int64 schema_id = 3;- Returns:
- The schemaId.
-
getParentTableId
long getParentTableId()if the index is belongs to a table ,the parent_table_id is the table_id of the parent table. if this field is zero, the index should be create by create index, such as c++ sdk or python sdk.
int64 parent_table_id = 4;- Returns:
- The parentTableId.
-