Enum Class Op

java.lang.Object
java.lang.Enum<Op>
net.hydromatic.filtex.ast.Op
All Implemented Interfaces:
Serializable, Comparable<Op>, Constable

public enum Op extends Enum<Op>
Parse tree operator.
  • Enum Constant Details

    • EQ

      public static final Op EQ
    • GE

      public static final Op GE
    • GT

      public static final Op GT
    • LE

      public static final Op LE
    • LT

      public static final Op LT
    • COMMA

      public static final Op COMMA
    • LITERAL

      public static final Op LITERAL
    • NULL

      public static final Op NULL
    • NOTNULL

      public static final Op NOTNULL
    • OPEN_OPEN

      public static final Op OPEN_OPEN
    • OPEN_CLOSED

      public static final Op OPEN_CLOSED
    • OPEN_ABSENT

      public static final Op OPEN_ABSENT
    • CLOSED_OPEN

      public static final Op CLOSED_OPEN
    • CLOSED_CLOSED

      public static final Op CLOSED_CLOSED
    • CLOSED_ABSENT

      public static final Op CLOSED_ABSENT
    • ABSENT_OPEN

      public static final Op ABSENT_OPEN
    • ABSENT_CLOSED

      public static final Op ABSENT_CLOSED
    • MATCHES_ADVANCED

      public static final Op MATCHES_ADVANCED
    • ANYWHERE

      public static final Op ANYWHERE
    • BOX

      public static final Op BOX
    • CIRCLE

      public static final Op CIRCLE
    • POINT

      public static final Op POINT
    • YEAR

      public static final Op YEAR
    • FISCAL_YEAR

      public static final Op FISCAL_YEAR
    • QUARTER

      public static final Op QUARTER
    • FISCAL_QUARTER

      public static final Op FISCAL_QUARTER
    • MONTH

      public static final Op MONTH
    • ON

      public static final Op ON
    • RANGE_INTERVAL

      public static final Op RANGE_INTERVAL
    • RANGE

      public static final Op RANGE
    • MONTH_INTERVAL

      public static final Op MONTH_INTERVAL
    • INTERVAL

      public static final Op INTERVAL
    • BEFORE

      public static final Op BEFORE
    • AFTER

      public static final Op AFTER
    • AFTER_THIS

      public static final Op AFTER_THIS
    • BEFORE_THIS

      public static final Op BEFORE_THIS
    • AFTER_NEXT

      public static final Op AFTER_NEXT
    • BEFORE_NEXT

      public static final Op BEFORE_NEXT
    • AFTER_LAST

      public static final Op AFTER_LAST
    • BEFORE_LAST

      public static final Op BEFORE_LAST
    • RELATIVE

      public static final Op RELATIVE
    • THIS

      public static final Op THIS
    • NEXT

      public static final Op NEXT
    • LAST

      public static final Op LAST
    • THIS_RANGE

      public static final Op THIS_RANGE
    • PAST

      public static final Op PAST
    • PAST_AGO

      public static final Op PAST_AGO
    • FROM_NOW

      public static final Op FROM_NOW
    • DAY

      public static final Op DAY
    • LAST_INTERVAL

      public static final Op LAST_INTERVAL
  • Field Details

    • s

      public final String s
    • left

      public final String left
  • Method Details

    • values

      public static Op[] 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

      public static Op valueOf(String name)
      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 name
      NullPointerException - 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

      public Op beforeAfter(boolean before)