Class GDateTimeTruncateFunctions.GIntervalDayDummyDateTrunc
java.lang.Object
org.apache.drill.exec.expr.fn.impl.GDateTimeTruncateFunctions.GIntervalDayDummyDateTrunc
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- GDateTimeTruncateFunctions
public static class GDateTimeTruncateFunctions.GIntervalDayDummyDateTrunc
extends Object
implements DrillSimpleFunc
This class merely act as a placeholder so that Calcite allows 'trunc('truncationUnit', col)'
function in SQL.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GIntervalDayDummyDateTrunc
public GIntervalDayDummyDateTrunc()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-