Class TimestampFloorExprMacro
- java.lang.Object
-
- org.apache.druid.query.expression.TimestampFloorExprMacro
-
- All Implemented Interfaces:
ExprMacroTable.ExprMacro
,NamedFunction
public class TimestampFloorExprMacro extends Object implements ExprMacroTable.ExprMacro
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimestampFloorExprMacro.TimestampFloorDynamicExpr
static class
TimestampFloorExprMacro.TimestampFloorExpr
-
Constructor Summary
Constructors Constructor Description TimestampFloorExprMacro()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr
apply(List<Expr> args)
static String
forQueryGranularity(org.joda.time.Period period)
String
name()
Name of the function-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.math.expr.NamedFunction
processingFailed, validationFailed, validationFailed, validationHelperCheckAnyOfArgumentCount, validationHelperCheckArgIsLiteral, validationHelperCheckArgumentCount, validationHelperCheckArgumentCount, validationHelperCheckArgumentRange, validationHelperCheckLambaArgumentCount, validationHelperCheckMinArgumentCount, validationHelperCheckMinArgumentCount
-
-
-
-
Method Detail
-
forQueryGranularity
public static String forQueryGranularity(org.joda.time.Period period)
-
name
public String name()
Description copied from interface:NamedFunction
Name of the function- Specified by:
name
in interfaceNamedFunction
-
apply
public Expr apply(List<Expr> args)
- Specified by:
apply
in interfaceExprMacroTable.ExprMacro
-
-