Enum Class Common.ScalarFieldType

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

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

  • Field Details

    • NONE_VALUE

      public static final int NONE_VALUE
       just a placeholder
       
      NONE = 0;
      See Also:
    • BOOL_VALUE

      public static final int BOOL_VALUE
       not used now
       
      BOOL = 1;
      See Also:
    • INT8_VALUE

      public static final int INT8_VALUE
       not used now
       
      INT8 = 2;
      See Also:
    • INT16_VALUE

      public static final int INT16_VALUE
       not used now
       
      INT16 = 3;
      See Also:
    • INT32_VALUE

      public static final int INT32_VALUE
       not used now
       
      INT32 = 4;
      See Also:
    • INT64_VALUE

      public static final int INT64_VALUE
       for vector and document
       
      INT64 = 5;
      See Also:
    • FLOAT32_VALUE

      public static final int FLOAT32_VALUE
       not used now
       
      FLOAT32 = 6;
      See Also:
    • DOUBLE_VALUE

      public static final int DOUBLE_VALUE
       for vector and document
       
      DOUBLE = 7;
      See Also:
    • STRING_VALUE

      public static final int STRING_VALUE
       for vector is string, for document is text with tokenizer
       
      STRING = 8;
      See Also:
    • BYTES_VALUE

      public static final int BYTES_VALUE
       for document only, is binary data, no tokenizer is used, not implemented now, will be used in the near
       
      BYTES = 9;
      See Also:
    • DATETIME_VALUE

      public static final int DATETIME_VALUE
       for document only, datetime values must be provided in rfc3339 format, such as 1970-01-01T00:00:00Z
       
      DATETIME = 10;
      See Also:
  • Method Details

    • values

      public static Common.ScalarFieldType[] 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.ScalarFieldType 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.ScalarFieldType 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.ScalarFieldType 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.ScalarFieldType> 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.ScalarFieldType 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