Package net.hydromatic.filtex.ast
Enum Class Op
- All Implemented Interfaces:
Serializable,Comparable<Op>,Constable
Parse tree operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbeforeAfter(boolean before) booleanReturns whether this operation is a range that is closed below; for example "[0, 10)" contains its lower bound, "0".booleanReturns whether this operation is a range that is closed above; for example "[0, 10)" does not contain its lower bound, "10".static OpReturns the enum constant of this class with the specified name.static Op[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
EQ
-
GE
-
GT
-
LE
-
LT
-
COMMA
-
LITERAL
-
NULL
-
NOTNULL
-
OPEN_OPEN
-
OPEN_CLOSED
-
OPEN_ABSENT
-
CLOSED_OPEN
-
CLOSED_CLOSED
-
CLOSED_ABSENT
-
ABSENT_OPEN
-
ABSENT_CLOSED
-
MATCHES_ADVANCED
-
ANYWHERE
-
BOX
-
CIRCLE
-
POINT
-
YEAR
-
FISCAL_YEAR
-
QUARTER
-
FISCAL_QUARTER
-
MONTH
-
ON
-
RANGE_INTERVAL
-
RANGE
-
MONTH_INTERVAL
-
INTERVAL
-
BEFORE
-
AFTER
-
AFTER_THIS
-
BEFORE_THIS
-
AFTER_NEXT
-
BEFORE_NEXT
-
AFTER_LAST
-
BEFORE_LAST
-
RELATIVE
-
THIS
-
NEXT
-
LAST
-
THIS_RANGE
-
PAST
-
PAST_AGO
-
FROM_NOW
-
DAY
-
LAST_INTERVAL
-
-
Field Details
-
s
-
left
-
right
-
-
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
-
containsLowerBound
public boolean containsLowerBound()Returns whether this operation is a range that is closed below; for example "[0, 10)" contains its lower bound, "0". -
containsUpperBound
public boolean containsUpperBound()Returns whether this operation is a range that is closed above; for example "[0, 10)" does not contain its lower bound, "10". -
beforeAfter
-