Enum BinaryOperatorKind
java.lang.Object
java.lang.Enum<BinaryOperatorKind>
org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind
- All Implemented Interfaces:
Serializable
,Comparable<BinaryOperatorKind>
,java.lang.constant.Constable
Enumeration of supported binary operators
For the semantic of these operators please see the ODATA specification for URL conventions
For the semantic of these operators please see the ODATA specification for URL conventions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAddition operatorAnd operatorDivision operatorEquality operatorGreater than or equals (">=") operatorGreater than operator (">")OData has operator used for OData enumerationsIn operatorLesser operator or equals ("<=") operatorLesser than operator ("<")Modulo operatorMultiplication operatorInequality operatorOr operatorSubtraction operator -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryOperatorKind
URI syntax to enumeration valuetoString()
static BinaryOperatorKind
Returns the enum constant of this type with the specified name.static BinaryOperatorKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HAS
OData has operator used for OData enumerations -
IN
In operator -
MUL
Multiplication operator -
DIV
Division operator -
MOD
Modulo operator -
ADD
Addition operator -
SUB
Subtraction operator -
GT
Greater than operator (">") -
GE
Greater than or equals (">=") operator -
LT
Lesser than operator ("<") -
LE
Lesser operator or equals ("<=") operator -
EQ
Equality operator -
NE
Inequality operator -
AND
And operator -
OR
Or operator
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
get
URI syntax to enumeration value- Parameters:
operator
- Operator in the syntax used in the URI- Returns:
- Operator kind which represents the given syntax
-
toString
- Overrides:
toString
in classEnum<BinaryOperatorKind>
- Returns:
- URI syntax for that operator kind
-