Class Meta.IndexMetrics

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

public static final class Meta.IndexMetrics extends com.google.protobuf.GeneratedMessageV3 implements Meta.IndexMetricsOrBuilder
 Index metrics for optimization of SQL plan
 
Protobuf type dingodb.pb.meta.IndexMetrics
See Also:
  • Field Details

    • ROWS_COUNT_FIELD_NUMBER

      public static final int ROWS_COUNT_FIELD_NUMBER
      See Also:
    • MIN_KEY_FIELD_NUMBER

      public static final int MIN_KEY_FIELD_NUMBER
      See Also:
    • MAX_KEY_FIELD_NUMBER

      public static final int MAX_KEY_FIELD_NUMBER
      See Also:
    • PART_COUNT_FIELD_NUMBER

      public static final int PART_COUNT_FIELD_NUMBER
      See Also:
    • VECTOR_INDEX_TYPE_FIELD_NUMBER

      public static final int VECTOR_INDEX_TYPE_FIELD_NUMBER
      See Also:
    • CURRENT_COUNT_FIELD_NUMBER

      public static final int CURRENT_COUNT_FIELD_NUMBER
      See Also:
    • DELETED_COUNT_FIELD_NUMBER

      public static final int DELETED_COUNT_FIELD_NUMBER
      See Also:
    • MAX_ID_FIELD_NUMBER

      public static final int MAX_ID_FIELD_NUMBER
      See Also:
    • MIN_ID_FIELD_NUMBER

      public static final int MIN_ID_FIELD_NUMBER
      See Also:
    • MEMORY_BYTES_FIELD_NUMBER

      public static final int MEMORY_BYTES_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
    • getRowsCount

      public long getRowsCount()
      int64 rows_count = 1;
      Specified by:
      getRowsCount in interface Meta.IndexMetricsOrBuilder
      Returns:
      The rowsCount.
    • getMinKey

      public com.google.protobuf.ByteString getMinKey()
      bytes min_key = 2;
      Specified by:
      getMinKey in interface Meta.IndexMetricsOrBuilder
      Returns:
      The minKey.
    • getMaxKey

      public com.google.protobuf.ByteString getMaxKey()
      bytes max_key = 3;
      Specified by:
      getMaxKey in interface Meta.IndexMetricsOrBuilder
      Returns:
      The maxKey.
    • getPartCount

      public long getPartCount()
      int64 part_count = 4;
      Specified by:
      getPartCount in interface Meta.IndexMetricsOrBuilder
      Returns:
      The partCount.
    • getVectorIndexTypeValue

      public int getVectorIndexTypeValue()
       vector index type . reserve to do one of for each different algorithm.
       
      .dingodb.pb.common.VectorIndexType vector_index_type = 20;
      Specified by:
      getVectorIndexTypeValue in interface Meta.IndexMetricsOrBuilder
      Returns:
      The enum numeric value on the wire for vectorIndexType.
    • getVectorIndexType

      public Common.VectorIndexType getVectorIndexType()
       vector index type . reserve to do one of for each different algorithm.
       
      .dingodb.pb.common.VectorIndexType vector_index_type = 20;
      Specified by:
      getVectorIndexType in interface Meta.IndexMetricsOrBuilder
      Returns:
      The vectorIndexType.
    • getCurrentCount

      public long getCurrentCount()
       current count
       
      int64 current_count = 21;
      Specified by:
      getCurrentCount in interface Meta.IndexMetricsOrBuilder
      Returns:
      The currentCount.
    • getDeletedCount

      public long getDeletedCount()
       deleted count
       
      int64 deleted_count = 22;
      Specified by:
      getDeletedCount in interface Meta.IndexMetricsOrBuilder
      Returns:
      The deletedCount.
    • getMaxId

      public long getMaxId()
       max id
       
      int64 max_id = 23;
      Specified by:
      getMaxId in interface Meta.IndexMetricsOrBuilder
      Returns:
      The maxId.
    • getMinId

      public long getMinId()
       min id
       
      int64 min_id = 24;
      Specified by:
      getMinId in interface Meta.IndexMetricsOrBuilder
      Returns:
      The minId.
    • getMemoryBytes

      public long getMemoryBytes()
       memeory unit bytes
       
      int64 memory_bytes = 25;
      Specified by:
      getMemoryBytes in interface Meta.IndexMetricsOrBuilder
      Returns:
      The memoryBytes.
    • 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.IndexMetrics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static Meta.IndexMetrics 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.IndexMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Meta.IndexMetrics getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Meta.IndexMetrics> 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.IndexMetrics getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder