private static class RexImpTable.FloorImplementor extends RexImpTable.MethodNameImplementor
FLOOR and CEIL functions.| Modifier and Type | Field and Description |
|---|---|
(package private) Method |
dateMethod |
(package private) Method |
timestampMethod |
methodName| Constructor and Description |
|---|
FloorImplementor(String methodName,
Method timestampMethod,
Method dateMethod) |
| Modifier and Type | Method and Description |
|---|---|
private Expression |
call(Expression operand,
Type type,
org.apache.calcite.avatica.util.TimeUnit timeUnit) |
Expression |
implement(RexToLixTranslator translator,
RexCall call,
List<Expression> translatedOperands)
Implements a call with assumption that all the null-checking is
implemented by caller.
|
public Expression implement(RexToLixTranslator translator, RexCall call, List<Expression> translatedOperands)
NotNullImplementorimplement in interface NotNullImplementorimplement in class RexImpTable.MethodNameImplementortranslator - translator to implement the codecall - call to implementtranslatedOperands - arguments of a callprivate Expression call(Expression operand, Type type, org.apache.calcite.avatica.util.TimeUnit timeUnit)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.