Enum DataType

java.lang.Object
java.lang.Enum<DataType>
io.milvus.grpc.DataType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DataType>, java.lang.constant.Constable

public enum DataType extends Enum<DataType> implements com.google.protobuf.ProtocolMessageEnum

 @brief Field data type
 
Protobuf enum milvus.proto.schema.DataType
  • Enum Constant Details

    • None

      public static final DataType None
      None = 0;
    • Bool

      public static final DataType Bool
      Bool = 1;
    • Int8

      public static final DataType Int8
      Int8 = 2;
    • Int16

      public static final DataType Int16
      Int16 = 3;
    • Int32

      public static final DataType Int32
      Int32 = 4;
    • Int64

      public static final DataType Int64
      Int64 = 5;
    • Float

      public static final DataType Float
      Float = 10;
    • Double

      public static final DataType Double
      Double = 11;
    • String

      public static final DataType String
      String = 20;
    • VarChar

      public static final DataType VarChar
       variable-length strings with a specified maximum length
       
      VarChar = 21;
    • Array

      public static final DataType Array
      Array = 22;
    • JSON

      public static final DataType JSON
      JSON = 23;
    • Geometry

      public static final DataType Geometry
      Geometry = 24;
    • Text

      public static final DataType Text
      Text = 25;
    • BinaryVector

      public static final DataType BinaryVector
      BinaryVector = 100;
    • FloatVector

      public static final DataType FloatVector
      FloatVector = 101;
    • Float16Vector

      public static final DataType Float16Vector
      Float16Vector = 102;
    • BFloat16Vector

      public static final DataType BFloat16Vector
      BFloat16Vector = 103;
    • SparseFloatVector

      public static final DataType SparseFloatVector
      SparseFloatVector = 104;
    • Int8Vector

      public static final DataType Int8Vector
      Int8Vector = 105;
    • ArrayOfVector

      public static final DataType ArrayOfVector
      ArrayOfVector = 106;
    • ArrayOfStruct

      public static final DataType ArrayOfStruct
      ArrayOfStruct = 200;
    • UNRECOGNIZED

      public static final DataType UNRECOGNIZED
  • Field Details

    • None_VALUE

      public static final int None_VALUE
      None = 0;
      See Also:
    • Bool_VALUE

      public static final int Bool_VALUE
      Bool = 1;
      See Also:
    • Int8_VALUE

      public static final int Int8_VALUE
      Int8 = 2;
      See Also:
    • Int16_VALUE

      public static final int Int16_VALUE
      Int16 = 3;
      See Also:
    • Int32_VALUE

      public static final int Int32_VALUE
      Int32 = 4;
      See Also:
    • Int64_VALUE

      public static final int Int64_VALUE
      Int64 = 5;
      See Also:
    • Float_VALUE

      public static final int Float_VALUE
      Float = 10;
      See Also:
    • Double_VALUE

      public static final int Double_VALUE
      Double = 11;
      See Also:
    • String_VALUE

      public static final int String_VALUE
      String = 20;
      See Also:
    • VarChar_VALUE

      public static final int VarChar_VALUE
       variable-length strings with a specified maximum length
       
      VarChar = 21;
      See Also:
    • Array_VALUE

      public static final int Array_VALUE
      Array = 22;
      See Also:
    • JSON_VALUE

      public static final int JSON_VALUE
      JSON = 23;
      See Also:
    • Geometry_VALUE

      public static final int Geometry_VALUE
      Geometry = 24;
      See Also:
    • Text_VALUE

      public static final int Text_VALUE
      Text = 25;
      See Also:
    • BinaryVector_VALUE

      public static final int BinaryVector_VALUE
      BinaryVector = 100;
      See Also:
    • FloatVector_VALUE

      public static final int FloatVector_VALUE
      FloatVector = 101;
      See Also:
    • Float16Vector_VALUE

      public static final int Float16Vector_VALUE
      Float16Vector = 102;
      See Also:
    • BFloat16Vector_VALUE

      public static final int BFloat16Vector_VALUE
      BFloat16Vector = 103;
      See Also:
    • SparseFloatVector_VALUE

      public static final int SparseFloatVector_VALUE
      SparseFloatVector = 104;
      See Also:
    • Int8Vector_VALUE

      public static final int Int8Vector_VALUE
      Int8Vector = 105;
      See Also:
    • ArrayOfVector_VALUE

      public static final int ArrayOfVector_VALUE
      ArrayOfVector = 106;
      See Also:
    • ArrayOfStruct_VALUE

      public static final int ArrayOfStruct_VALUE
      ArrayOfStruct = 200;
      See Also:
  • Method Details

    • values

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

      public static DataType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 DataType valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static DataType 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<DataType> 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 DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null