com.espertech.esper.epl.join.plan
Enum QueryGraphRangeEnum

java.lang.Object
  extended by java.lang.Enum<QueryGraphRangeEnum>
      extended by com.espertech.esper.epl.join.plan.QueryGraphRangeEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<QueryGraphRangeEnum>

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


Enum Constant Summary
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 QueryGraphRangeEnum getRangeOp(boolean includeStart, boolean includeEnd, boolean isInverted)
           
 java.lang.String getStringOp()
           
 boolean isIncludeEnd()
           
 boolean isIncludeStart()
           
 boolean isRange()
           
 boolean isRangeInverted()
           
static QueryGraphRangeEnum mapFrom(FilterOperator op)
           
static QueryGraphRangeEnum mapFrom(RelationalOpEnum relationalOpEnum)
           
static QueryGraphRangeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QueryGraphRangeEnum[] 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

LESS

public static final QueryGraphRangeEnum LESS
Less (<).


LESS_OR_EQUAL

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


GREATER_OR_EQUAL

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


GREATER

public static final QueryGraphRangeEnum GREATER
Greater (>).


RANGE_OPEN

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


RANGE_CLOSED

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


RANGE_HALF_OPEN

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


RANGE_HALF_CLOSED

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


NOT_RANGE_OPEN

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


NOT_RANGE_CLOSED

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


NOT_RANGE_HALF_OPEN

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


NOT_RANGE_HALF_CLOSED

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

Method Detail

values

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

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

valueOf

public static QueryGraphRangeEnum 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

mapFrom

public static QueryGraphRangeEnum mapFrom(FilterOperator op)

mapFrom

public static QueryGraphRangeEnum mapFrom(RelationalOpEnum relationalOpEnum)

isRange

public boolean isRange()

isIncludeStart

public boolean isIncludeStart()

isIncludeEnd

public boolean isIncludeEnd()

getRangeOp

public static QueryGraphRangeEnum getRangeOp(boolean includeStart,
                                             boolean includeEnd,
                                             boolean isInverted)

isRangeInverted

public boolean isRangeInverted()

getStringOp

public java.lang.String getStringOp()

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