Package org.vitrivr.cottontail.grpc
Enum CottontailGrpc.ComparisonOperator
- java.lang.Object
-
- java.lang.Enum<CottontailGrpc.ComparisonOperator>
-
- org.vitrivr.cottontail.grpc.CottontailGrpc.ComparisonOperator
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<CottontailGrpc.ComparisonOperator>
- Enclosing class:
- CottontailGrpc
public static enum CottontailGrpc.ComparisonOperator extends java.lang.Enum<CottontailGrpc.ComparisonOperator> implements com.google.protobuf.ProtocolMessageEnum
An operator to compare a series of values.
Protobuf enumorg.vitrivr.cottontail.grpc.ComparisonOperator
-
-
Field Summary
Fields Modifier and Type Field Description static intBETWEEN_VALUEBETWEEN = 6;static intEQUAL_VALUEEQUAL = 0;static intGEQUAL_VALUEGEQUAL = 3;static intGREATER_VALUEGREATER = 1;static intIN_VALUEIN = 5;static intISNULL_VALUEISNULL = 7;static intLEQUAL_VALUELEQUAL = 4;static intLESS_VALUELESS = 2;static intLIKE_VALUELIKE = 8;static intMATCH_VALUEMATCH = 9;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CottontailGrpc.ComparisonOperatorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.ComparisonOperator>internalGetValueMap()static CottontailGrpc.ComparisonOperatorvalueOf(int value)Deprecated.static CottontailGrpc.ComparisonOperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static CottontailGrpc.ComparisonOperatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CottontailGrpc.ComparisonOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final CottontailGrpc.ComparisonOperator EQUAL
EQUAL = 0;
-
GREATER
public static final CottontailGrpc.ComparisonOperator GREATER
GREATER = 1;
-
LESS
public static final CottontailGrpc.ComparisonOperator LESS
LESS = 2;
-
GEQUAL
public static final CottontailGrpc.ComparisonOperator GEQUAL
GEQUAL = 3;
-
LEQUAL
public static final CottontailGrpc.ComparisonOperator LEQUAL
LEQUAL = 4;
-
IN
public static final CottontailGrpc.ComparisonOperator IN
IN = 5;
-
BETWEEN
public static final CottontailGrpc.ComparisonOperator BETWEEN
BETWEEN = 6;
-
ISNULL
public static final CottontailGrpc.ComparisonOperator ISNULL
ISNULL = 7;
-
LIKE
public static final CottontailGrpc.ComparisonOperator LIKE
LIKE = 8;
-
MATCH
public static final CottontailGrpc.ComparisonOperator MATCH
MATCH = 9;
-
UNRECOGNIZED
public static final CottontailGrpc.ComparisonOperator UNRECOGNIZED
-
-
Field Detail
-
EQUAL_VALUE
public static final int EQUAL_VALUE
EQUAL = 0;- See Also:
- Constant Field Values
-
GREATER_VALUE
public static final int GREATER_VALUE
GREATER = 1;- See Also:
- Constant Field Values
-
LESS_VALUE
public static final int LESS_VALUE
LESS = 2;- See Also:
- Constant Field Values
-
GEQUAL_VALUE
public static final int GEQUAL_VALUE
GEQUAL = 3;- See Also:
- Constant Field Values
-
LEQUAL_VALUE
public static final int LEQUAL_VALUE
LEQUAL = 4;- See Also:
- Constant Field Values
-
IN_VALUE
public static final int IN_VALUE
IN = 5;- See Also:
- Constant Field Values
-
BETWEEN_VALUE
public static final int BETWEEN_VALUE
BETWEEN = 6;- See Also:
- Constant Field Values
-
ISNULL_VALUE
public static final int ISNULL_VALUE
ISNULL = 7;- See Also:
- Constant Field Values
-
LIKE_VALUE
public static final int LIKE_VALUE
LIKE = 8;- See Also:
- Constant Field Values
-
MATCH_VALUE
public static final int MATCH_VALUE
MATCH = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static CottontailGrpc.ComparisonOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CottontailGrpc.ComparisonOperator c : CottontailGrpc.ComparisonOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CottontailGrpc.ComparisonOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static CottontailGrpc.ComparisonOperator 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static CottontailGrpc.ComparisonOperator 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.ComparisonOperator> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static CottontailGrpc.ComparisonOperator 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-