com.espertech.esper.client.hook
Enum VirtualDataWindowLookupOp

java.lang.Object
  extended by java.lang.Enum<VirtualDataWindowLookupOp>
      extended by com.espertech.esper.client.hook.VirtualDataWindowLookupOp
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VirtualDataWindowLookupOp>

public enum VirtualDataWindowLookupOp
extends java.lang.Enum<VirtualDataWindowLookupOp>

Enumeration for indicating the type of operator for a lookup against a virtual data window, see VirtualDataWindowLookupContext.


Enum Constant Summary
EQUALS
          Equals (=).
GREATER
          Greater (>).
GREATER_OR_EQUAL
          Greater or equal (>=).
LESS
          Less (<).
LESS_OR_EQUAL
          Less or equal (<=).
NOT_RANGE_CLOSED
          Inverted-Range contains low and high endpoint, i.e.
NOT_RANGE_HALF_CLOSED
          Inverted-Range includes high endpoint but not low endpoint, i.e.
NOT_RANGE_HALF_OPEN
          Inverted-Range includes low endpoint but not high endpoint, i.e.
NOT_RANGE_OPEN
          Inverted-Range contains neither endpoint, i.e.
RANGE_CLOSED
          Range contains low and high endpoint, i.e.
RANGE_HALF_CLOSED
          Range includes high endpoint but not low endpoint, i.e.
RANGE_HALF_OPEN
          Range includes low endpoint but not high endpoint, i.e.
RANGE_OPEN
          Range contains neither endpoint, i.e.
 
Method Summary
static VirtualDataWindowLookupOp fromOpString(java.lang.String stringOp)
          Map the operator from a string-value.
 java.lang.String getOp()
          Returns the string-value of the operator.
static VirtualDataWindowLookupOp valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VirtualDataWindowLookupOp[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQUALS

public static final VirtualDataWindowLookupOp EQUALS
Equals (=).


LESS

public static final VirtualDataWindowLookupOp LESS
Less (<).


LESS_OR_EQUAL

public static final VirtualDataWindowLookupOp LESS_OR_EQUAL
Less or equal (<=).


GREATER_OR_EQUAL

public static final VirtualDataWindowLookupOp GREATER_OR_EQUAL
Greater or equal (>=).


GREATER

public static final VirtualDataWindowLookupOp GREATER
Greater (>).


RANGE_OPEN

public static final VirtualDataWindowLookupOp RANGE_OPEN
Range contains neither endpoint, i.e. (a,b)


RANGE_CLOSED

public static final VirtualDataWindowLookupOp RANGE_CLOSED
Range contains low and high endpoint, i.e. [a,b]


RANGE_HALF_OPEN

public static final VirtualDataWindowLookupOp RANGE_HALF_OPEN
Range includes low endpoint but not high endpoint, i.e. [a,b)


RANGE_HALF_CLOSED

public static final VirtualDataWindowLookupOp RANGE_HALF_CLOSED
Range includes high endpoint but not low endpoint, i.e. (a,b]


NOT_RANGE_OPEN

public static final VirtualDataWindowLookupOp NOT_RANGE_OPEN
Inverted-Range contains neither endpoint, i.e. (a,b)


NOT_RANGE_CLOSED

public static final VirtualDataWindowLookupOp NOT_RANGE_CLOSED
Inverted-Range contains low and high endpoint, i.e. [a,b]


NOT_RANGE_HALF_OPEN

public static final VirtualDataWindowLookupOp NOT_RANGE_HALF_OPEN
Inverted-Range includes low endpoint but not high endpoint, i.e. [a,b)


NOT_RANGE_HALF_CLOSED

public static final VirtualDataWindowLookupOp NOT_RANGE_HALF_CLOSED
Inverted-Range includes high endpoint but not low endpoint, i.e. (a,b]

Method Detail

values

public static VirtualDataWindowLookupOp[] 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 (VirtualDataWindowLookupOp c : VirtualDataWindowLookupOp.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VirtualDataWindowLookupOp 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 name
java.lang.NullPointerException - if the argument is null

getOp

public java.lang.String getOp()
Returns the string-value of the operator.

Returns:
operator string value

fromOpString

public static VirtualDataWindowLookupOp fromOpString(java.lang.String stringOp)
Map the operator from a string-value.

Parameters:
stringOp - to map from
Returns:
operator
Throws:
java.lang.IllegalArgumentException - if the string operator cannot be understood

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com