Class Meta.IndexDefinition

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.meta.Meta.IndexDefinition
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Meta.IndexDefinitionOrBuilder, Serializable
Enclosing class:
Meta

public static final class Meta.IndexDefinition extends com.google.protobuf.GeneratedMessageV3 implements Meta.IndexDefinitionOrBuilder
 IndexDefinition is for vector/scalar index
 
Protobuf type dingodb.pb.meta.IndexDefinition
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • INDEX_PARTITION_FIELD_NUMBER

      public static final int INDEX_PARTITION_FIELD_NUMBER
      See Also:
    • REPLICA_FIELD_NUMBER

      public static final int REPLICA_FIELD_NUMBER
      See Also:
    • INDEX_PARAMETER_FIELD_NUMBER

      public static final int INDEX_PARAMETER_FIELD_NUMBER
      See Also:
    • WITH_AUTO_INCRMENT_FIELD_NUMBER

      public static final int WITH_AUTO_INCRMENT_FIELD_NUMBER
      See Also:
    • AUTO_INCREMENT_FIELD_NUMBER

      public static final int AUTO_INCREMENT_FIELD_NUMBER
      See Also:
    • ENGINE_FIELD_NUMBER

      public static final int ENGINE_FIELD_NUMBER
      See Also:
    • REVISION_FIELD_NUMBER

      public static final int REVISION_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getName

      public String getName()
      string name = 1;
      Specified by:
      getName in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1;
      Specified by:
      getNameBytes in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The bytes for name.
    • getVersion

      public int getVersion()
      uint32 version = 2;
      Specified by:
      getVersion in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The version.
    • hasIndexPartition

      public boolean hasIndexPartition()
      .dingodb.pb.meta.PartitionRule index_partition = 3;
      Specified by:
      hasIndexPartition in interface Meta.IndexDefinitionOrBuilder
      Returns:
      Whether the indexPartition field is set.
    • getIndexPartition

      public Meta.PartitionRule getIndexPartition()
      .dingodb.pb.meta.PartitionRule index_partition = 3;
      Specified by:
      getIndexPartition in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The indexPartition.
    • getIndexPartitionOrBuilder

      public Meta.PartitionRuleOrBuilder getIndexPartitionOrBuilder()
      .dingodb.pb.meta.PartitionRule index_partition = 3;
      Specified by:
      getIndexPartitionOrBuilder in interface Meta.IndexDefinitionOrBuilder
    • getReplica

      public int getReplica()
      uint32 replica = 4;
      Specified by:
      getReplica in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The replica.
    • hasIndexParameter

      public boolean hasIndexParameter()
      .dingodb.pb.common.IndexParameter index_parameter = 5;
      Specified by:
      hasIndexParameter in interface Meta.IndexDefinitionOrBuilder
      Returns:
      Whether the indexParameter field is set.
    • getIndexParameter

      public Common.IndexParameter getIndexParameter()
      .dingodb.pb.common.IndexParameter index_parameter = 5;
      Specified by:
      getIndexParameter in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The indexParameter.
    • getIndexParameterOrBuilder

      public Common.IndexParameterOrBuilder getIndexParameterOrBuilder()
      .dingodb.pb.common.IndexParameter index_parameter = 5;
      Specified by:
      getIndexParameterOrBuilder in interface Meta.IndexDefinitionOrBuilder
    • getWithAutoIncrment

      public boolean getWithAutoIncrment()
       if true, the index create a auto increment
       
      bool with_auto_incrment = 6;
      Specified by:
      getWithAutoIncrment in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The withAutoIncrment.
    • getAutoIncrement

      public long getAutoIncrement()
       auto increment start id
       
      int64 auto_increment = 7;
      Specified by:
      getAutoIncrement in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The autoIncrement.
    • getEngineValue

      public int getEngineValue()
      .dingodb.pb.common.Engine engine = 8;
      Specified by:
      getEngineValue in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The enum numeric value on the wire for engine.
    • getEngine

      public Common.Engine getEngine()
      .dingodb.pb.common.Engine engine = 8;
      Specified by:
      getEngine in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The engine.
    • getRevision

      public long getRevision()
      int64 revision = 20;
      Specified by:
      getRevision in interface Meta.IndexDefinitionOrBuilder
      Returns:
      The revision.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Meta.IndexDefinition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Meta.IndexDefinition parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Meta.IndexDefinition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Meta.IndexDefinition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Meta.IndexDefinition.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Meta.IndexDefinition.Builder newBuilder()
    • newBuilder

      public static Meta.IndexDefinition.Builder newBuilder(Meta.IndexDefinition prototype)
    • toBuilder

      public Meta.IndexDefinition.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Meta.IndexDefinition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Meta.IndexDefinition getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Meta.IndexDefinition> parser()
    • getParserForType

      public com.google.protobuf.Parser<Meta.IndexDefinition> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Meta.IndexDefinition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder