public class CeilOperatorConversion extends Object implements DruidSqlOperatorConverter
| Constructor and Description |
|---|
CeilOperatorConversion() |
| Modifier and Type | Method and Description |
|---|---|
SqlOperator |
calciteOperator()
Returns the calcite SQL operator corresponding to Druid operator.
|
String |
toDruidExpression(RexNode rexNode,
RelDataType rowType,
DruidQuery query)
Translate rexNode to valid Druid expression.
|
public SqlOperator calciteOperator()
DruidSqlOperatorConvertercalciteOperator in interface DruidSqlOperatorConverter@Nullable public String toDruidExpression(RexNode rexNode, RelDataType rowType, DruidQuery query)
DruidSqlOperatorConvertertoDruidExpression in interface DruidSqlOperatorConverterrexNode - rexNode to translate to Druid expressionrowType - row type associated with rexNodequery - druid query used to figure out configs/fields related like timeZoneCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.