Enum Class Common.VectorIndexType

java.lang.Object
java.lang.Enum<Common.VectorIndexType>
io.dingodb.common.Common.VectorIndexType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Common.VectorIndexType>, Constable
Enclosing class:
Common

public static enum Common.VectorIndexType extends Enum<Common.VectorIndexType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum dingodb.pb.common.VectorIndexType
  • Enum Constant Details

    • VECTOR_INDEX_TYPE_NONE

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_NONE
      VECTOR_INDEX_TYPE_NONE = 0;
    • VECTOR_INDEX_TYPE_FLAT

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_FLAT
      VECTOR_INDEX_TYPE_FLAT = 1;
    • VECTOR_INDEX_TYPE_IVF_FLAT

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_IVF_FLAT
      VECTOR_INDEX_TYPE_IVF_FLAT = 2;
    • VECTOR_INDEX_TYPE_IVF_PQ

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_IVF_PQ
      VECTOR_INDEX_TYPE_IVF_PQ = 3;
    • VECTOR_INDEX_TYPE_HNSW

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_HNSW
      VECTOR_INDEX_TYPE_HNSW = 4;
    • VECTOR_INDEX_TYPE_DISKANN

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_DISKANN
      VECTOR_INDEX_TYPE_DISKANN = 5;
    • VECTOR_INDEX_TYPE_BRUTEFORCE

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_BRUTEFORCE
      VECTOR_INDEX_TYPE_BRUTEFORCE = 6;
    • VECTOR_INDEX_TYPE_BINARY_FLAT

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_BINARY_FLAT
      VECTOR_INDEX_TYPE_BINARY_FLAT = 15;
    • VECTOR_INDEX_TYPE_BINARY_IVF_FLAT

      public static final Common.VectorIndexType VECTOR_INDEX_TYPE_BINARY_IVF_FLAT
      VECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16;
    • UNRECOGNIZED

      public static final Common.VectorIndexType UNRECOGNIZED
  • Field Details

    • VECTOR_INDEX_TYPE_NONE_VALUE

      public static final int VECTOR_INDEX_TYPE_NONE_VALUE
      VECTOR_INDEX_TYPE_NONE = 0;
      See Also:
    • VECTOR_INDEX_TYPE_FLAT_VALUE

      public static final int VECTOR_INDEX_TYPE_FLAT_VALUE
      VECTOR_INDEX_TYPE_FLAT = 1;
      See Also:
    • VECTOR_INDEX_TYPE_IVF_FLAT_VALUE

      public static final int VECTOR_INDEX_TYPE_IVF_FLAT_VALUE
      VECTOR_INDEX_TYPE_IVF_FLAT = 2;
      See Also:
    • VECTOR_INDEX_TYPE_IVF_PQ_VALUE

      public static final int VECTOR_INDEX_TYPE_IVF_PQ_VALUE
      VECTOR_INDEX_TYPE_IVF_PQ = 3;
      See Also:
    • VECTOR_INDEX_TYPE_HNSW_VALUE

      public static final int VECTOR_INDEX_TYPE_HNSW_VALUE
      VECTOR_INDEX_TYPE_HNSW = 4;
      See Also:
    • VECTOR_INDEX_TYPE_DISKANN_VALUE

      public static final int VECTOR_INDEX_TYPE_DISKANN_VALUE
      VECTOR_INDEX_TYPE_DISKANN = 5;
      See Also:
    • VECTOR_INDEX_TYPE_BRUTEFORCE_VALUE

      public static final int VECTOR_INDEX_TYPE_BRUTEFORCE_VALUE
      VECTOR_INDEX_TYPE_BRUTEFORCE = 6;
      See Also:
    • VECTOR_INDEX_TYPE_BINARY_FLAT_VALUE

      public static final int VECTOR_INDEX_TYPE_BINARY_FLAT_VALUE
      VECTOR_INDEX_TYPE_BINARY_FLAT = 15;
      See Also:
    • VECTOR_INDEX_TYPE_BINARY_IVF_FLAT_VALUE

      public static final int VECTOR_INDEX_TYPE_BINARY_IVF_FLAT_VALUE
      VECTOR_INDEX_TYPE_BINARY_IVF_FLAT = 16;
      See Also:
  • Method Details

    • values

      public static Common.VectorIndexType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Common.VectorIndexType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Common.VectorIndexType valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Common.VectorIndexType forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<Common.VectorIndexType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Common.VectorIndexType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null