Class DateRangeRules.ExtractFinder

  • All Implemented Interfaces:
    java.lang.AutoCloseable, RexVisitor
    Enclosing class:

    private static class DateRangeRules.ExtractFinder
    extends RexVisitorImpl
    implements java.lang.AutoCloseable
    Visitor that searches for calls to EXTRACT, FLOOR or CEIL, building a list of distinct time units.
    • Field Detail

      • timeUnits

        private final java.util.Set<org.apache.calcite.avatica.util.TimeUnitRange> timeUnits
      • opKinds

        private final java.util.Set<SqlKind> opKinds
    • Constructor Detail

      • ExtractFinder

        private ExtractFinder()
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable