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