Enum Class CottontailGrpc.Type

java.lang.Object
java.lang.Enum<CottontailGrpc.Type>
org.vitrivr.cottontail.grpc.CottontailGrpc.Type
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CottontailGrpc.Type>, Constable
Enclosing class:
CottontailGrpc

public static enum CottontailGrpc.Type extends Enum<CottontailGrpc.Type> implements com.google.protobuf.ProtocolMessageEnum
 The basic data types supported by Cottontail DB columns. 
 
Protobuf enum org.vitrivr.cottontail.grpc.Type
  • Enum Constant Details

  • Field Details

    • BOOLEAN_VALUE

      public static final int BOOLEAN_VALUE
       Scalar types. 
       
      BOOLEAN = 0;
      See Also:
    • BYTE_VALUE

      public static final int BYTE_VALUE
      BYTE = 1;
      See Also:
    • SHORT_VALUE

      public static final int SHORT_VALUE
      SHORT = 2;
      See Also:
    • INTEGER_VALUE

      public static final int INTEGER_VALUE
      INTEGER = 3;
      See Also:
    • LONG_VALUE

      public static final int LONG_VALUE
      LONG = 4;
      See Also:
    • FLOAT_VALUE

      public static final int FLOAT_VALUE
      FLOAT = 5;
      See Also:
    • DOUBLE_VALUE

      public static final int DOUBLE_VALUE
      DOUBLE = 6;
      See Also:
    • DATE_VALUE

      public static final int DATE_VALUE
      DATE = 7;
      See Also:
    • STRING_VALUE

      public static final int STRING_VALUE
      STRING = 8;
      See Also:
    • UUID_VALUE

      public static final int UUID_VALUE
      UUID = 9;
      See Also:
    • COMPLEX32_VALUE

      public static final int COMPLEX32_VALUE
       Struct types. 
       
      COMPLEX32 = 20;
      See Also:
    • COMPLEX64_VALUE

      public static final int COMPLEX64_VALUE
      COMPLEX64 = 21;
      See Also:
    • DOUBLE_VECTOR_VALUE

      public static final int DOUBLE_VECTOR_VALUE
       Vector types. 
       
      DOUBLE_VECTOR = 30;
      See Also:
    • FLOAT_VECTOR_VALUE

      public static final int FLOAT_VECTOR_VALUE
      FLOAT_VECTOR = 31;
      See Also:
    • LONG_VECTOR_VALUE

      public static final int LONG_VECTOR_VALUE
      LONG_VECTOR = 32;
      See Also:
    • INT_VECTOR_VALUE

      public static final int INT_VECTOR_VALUE
      INT_VECTOR = 33;
      See Also:
    • BOOL_VECTOR_VALUE

      public static final int BOOL_VECTOR_VALUE
      BOOL_VECTOR = 34;
      See Also:
    • COMPLEX32_VECTOR_VALUE

      public static final int COMPLEX32_VECTOR_VALUE
      COMPLEX32_VECTOR = 35;
      See Also:
    • COMPLEX64_VECTOR_VALUE

      public static final int COMPLEX64_VECTOR_VALUE
      COMPLEX64_VECTOR = 36;
      See Also:
    • SHORT_VECTOR_VALUE

      public static final int SHORT_VECTOR_VALUE
      SHORT_VECTOR = 37;
      See Also:
    • HALF_VECTOR_VALUE

      public static final int HALF_VECTOR_VALUE
      HALF_VECTOR = 38;
      See Also:
    • BYTESTRING_VALUE

      public static final int BYTESTRING_VALUE
       BLOB types 
       
      BYTESTRING = 50;
      See Also:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Type> internalValueMap
    • VALUES

      private static final CottontailGrpc.Type[] VALUES
    • value

      private final int value
  • Constructor Details

    • Type

      private Type(int value)
  • Method Details

    • values

      public static CottontailGrpc.Type[] 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 CottontailGrpc.Type 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 CottontailGrpc.Type 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 CottontailGrpc.Type 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<CottontailGrpc.Type> 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 CottontailGrpc.Type 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