Class ExtractOperatorNode

  • All Implemented Interfaces:
    Visitable

    class ExtractOperatorNode
    extends UnaryOperatorNode
    This node represents a unary extract operator, used to extract a field from a date/time. The field value is returned as an integer.
    • Field Detail

      • fieldName

        private static final java.lang.String[] fieldName
      • fieldMethod

        private static final java.lang.String[] fieldMethod
      • extractField

        private int extractField
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from class: UnaryOperatorNode
        Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.
        Overrides:
        toString in class UnaryOperatorNode
        Returns:
        This object as a String