Class GDateTimeTruncateFunctions.GDateDummyDateTrunc
java.lang.Object
org.apache.drill.exec.expr.fn.impl.GDateTimeTruncateFunctions.GDateDummyDateTrunc
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
- Enclosing class:
- GDateTimeTruncateFunctions
public static class GDateTimeTruncateFunctions.GDateDummyDateTrunc
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
-
GDateDummyDateTrunc
public GDateDummyDateTrunc()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-