private static class DateRangeRules.ExtractFinder extends RexVisitorImpl implements AutoCloseable
EXTRACT, FLOOR or
CEIL, building a list of distinct time units.| Modifier and Type | Field and Description |
|---|---|
private Set<SqlKind> |
opKinds |
private static ThreadLocal<DateRangeRules.ExtractFinder> |
THREAD_INSTANCES |
private Set<org.apache.calcite.avatica.util.TimeUnitRange> |
timeUnits |
deep| Modifier | Constructor and Description |
|---|---|
private |
ExtractFinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
visitCall(RexCall call) |
visitArrayAnd, visitArrayOr, visitCorrelVariable, visitDynamicParam, visitFieldAccess, visitInputRef, visitLiteral, visitLocalRef, visitOver, visitPatternFieldRef, visitRangeRef, visitSubQuery, visitTableInputRefprivate final Set<org.apache.calcite.avatica.util.TimeUnitRange> timeUnits
private static final ThreadLocal<DateRangeRules.ExtractFinder> THREAD_INSTANCES
public Object visitCall(RexCall call)
visitCall in interface RexVisitorvisitCall in class RexVisitorImplpublic void close()
close in interface AutoCloseableCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.