Package org.vitrivr.cottontail.grpc
Enum Class CottontailGrpc.Predicate.Comparison.Operator
java.lang.Object
java.lang.Enum<CottontailGrpc.Predicate.Comparison.Operator>
org.vitrivr.cottontail.grpc.CottontailGrpc.Predicate.Comparison.Operator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<CottontailGrpc.Predicate.Comparison.Operator>,Constable
- Enclosing class:
- CottontailGrpc.Predicate.Comparison
public static enum CottontailGrpc.Predicate.Comparison.Operator
extends Enum<CottontailGrpc.Predicate.Comparison.Operator>
implements com.google.protobuf.ProtocolMessageEnum
An operator to compare a series of values.Protobuf enum
org.vitrivr.cottontail.grpc.Predicate.Comparison.Operator-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBETWEEN = 7;static final intEQUAL = 0;static final intGEQUAL = 4;static final intGREATER = 2;static final intIN = 6;private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Predicate.Comparison.Operator>static final intLEQUAL = 5;static final intLESS = 3;static final intLIKE = 8;static final intMATCH = 9;static final intNOTEQUAL = 1;private final intprivate static final CottontailGrpc.Predicate.Comparison.Operator[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Predicate.Comparison.Operator>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
EQUAL = 0; -
NOTEQUAL
NOTEQUAL = 1; -
GREATER
GREATER = 2; -
LESS
LESS = 3; -
GEQUAL
GEQUAL = 4; -
LEQUAL
LEQUAL = 5; -
IN
IN = 6; -
BETWEEN
BETWEEN = 7; -
LIKE
LIKE = 8; -
MATCH
MATCH = 9; -
UNRECOGNIZED
-
-
Field Details
-
EQUAL_VALUE
public static final int EQUAL_VALUEEQUAL = 0;- See Also:
-
NOTEQUAL_VALUE
public static final int NOTEQUAL_VALUENOTEQUAL = 1;- See Also:
-
GREATER_VALUE
public static final int GREATER_VALUEGREATER = 2;- See Also:
-
LESS_VALUE
public static final int LESS_VALUELESS = 3;- See Also:
-
GEQUAL_VALUE
public static final int GEQUAL_VALUEGEQUAL = 4;- See Also:
-
LEQUAL_VALUE
public static final int LEQUAL_VALUELEQUAL = 5;- See Also:
-
IN_VALUE
public static final int IN_VALUEIN = 6;- See Also:
-
BETWEEN_VALUE
public static final int BETWEEN_VALUEBETWEEN = 7;- See Also:
-
LIKE_VALUE
public static final int LIKE_VALUELIKE = 8;- See Also:
-
MATCH_VALUE
public static final int MATCH_VALUEMATCH = 9;- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<CottontailGrpc.Predicate.Comparison.Operator> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
Operator
private Operator(int value)
-
-
Method Details
-
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
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 nameNullPointerException- 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.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 nameNullPointerException- if the argument is null
-
forNumber
- 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.Predicate.Comparison.Operator> 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.Predicate.Comparison.Operator 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 nameNullPointerException- if the argument is null
-