Enum Class VirtualDataWindowLookupOp
java.lang.Object
java.lang.Enum<VirtualDataWindowLookupOp>
com.espertech.esper.common.client.hook.vdw.VirtualDataWindowLookupOp
- All Implemented Interfaces:
Serializable
,Comparable<VirtualDataWindowLookupOp>
,Constable
Enumeration for indicating the type of operator for a lookup against a virtual data window, see
VirtualDataWindowLookupContext
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEquals (=).Greater (>).Greater or equal (>=).Less (<).Less or equal (<=).Inverted-Range contains low and high endpoint, i.e.Inverted-Range includes high endpoint but not low endpoint, i.e.Inverted-Range includes low endpoint but not high endpoint, i.e.Inverted-Range contains neither endpoint, i.e.Range contains low and high endpoint, i.e.Range includes high endpoint but not low endpoint, i.e.Range includes low endpoint but not high endpoint, i.e.Range contains neither endpoint, i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualDataWindowLookupOp
fromOpString
(String stringOp) Map the operator from a string-value.getOp()
Returns the string-value of the operator.static VirtualDataWindowLookupOp
Returns the enum constant of this class with the specified name.static VirtualDataWindowLookupOp[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
Equals (=). -
LESS
Less (<). -
LESS_OR_EQUAL
Less or equal (<=). -
GREATER_OR_EQUAL
Greater or equal (>=). -
GREATER
Greater (>). -
RANGE_OPEN
Range contains neither endpoint, i.e. (a,b) -
RANGE_CLOSED
Range contains low and high endpoint, i.e. [a,b] -
RANGE_HALF_OPEN
Range includes low endpoint but not high endpoint, i.e. [a,b) -
RANGE_HALF_CLOSED
Range includes high endpoint but not low endpoint, i.e. (a,b] -
NOT_RANGE_OPEN
Inverted-Range contains neither endpoint, i.e. (a,b) -
NOT_RANGE_CLOSED
Inverted-Range contains low and high endpoint, i.e. [a,b] -
NOT_RANGE_HALF_OPEN
Inverted-Range includes low endpoint but not high endpoint, i.e. [a,b) -
NOT_RANGE_HALF_CLOSED
Inverted-Range includes high endpoint but not low endpoint, i.e. (a,b]
-
-
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
-
getOp
Returns the string-value of the operator.- Returns:
- operator string value
-
fromOpString
Map the operator from a string-value.- Parameters:
stringOp
- to map from- Returns:
- operator
- Throws:
IllegalArgumentException
- if the string operator cannot be understood
-