| Package | Description |
|---|---|
| io.druid.query.expression | |
| io.druid.sql.calcite.expression | |
| io.druid.sql.calcite.expression.builtin |
| Modifier and Type | Method and Description |
|---|---|
PeriodGranularity |
TimestampFloorExprMacro.TimestampFloorExpr.getGranularity()
Exposed for Druid SQL: this is used by Expressions.toQueryGranularity.
|
static PeriodGranularity |
ExprUtils.toPeriodGranularity(Expr periodArg,
Expr originArg,
Expr timeZoneArg,
Expr.ObjectBinding bindings) |
| Modifier and Type | Method and Description |
|---|---|
static PeriodGranularity |
TimeUnits.toQueryGranularity(org.apache.calcite.avatica.util.TimeUnitRange timeUnitRange,
org.joda.time.DateTimeZone timeZone)
Returns the Druid QueryGranularity corresponding to a Calcite TimeUnitRange, or null if there is none.
|
| Modifier and Type | Method and Description |
|---|---|
static DruidExpression |
TimeFloorOperatorConversion.applyTimestampFloor(DruidExpression input,
PeriodGranularity granularity,
ExprMacroTable macroTable) |
Copyright © 2011–2018. All rights reserved.