public interface SqlOperatorConversion
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlOperator |
calciteOperator()
Returns the SQL operator corresponding to this function.
|
DruidExpression |
toDruidExpression(PlannerContext plannerContext,
RowSignature rowSignature,
org.apache.calcite.rex.RexNode rexNode)
Translate a Calcite
RexNode to a Druid expression. |
org.apache.calcite.sql.SqlOperator calciteOperator()
DruidExpression toDruidExpression(PlannerContext plannerContext, RowSignature rowSignature, org.apache.calcite.rex.RexNode rexNode)
RexNode
to a Druid expression.plannerContext
- SQL planner contextrowSignature
- signature of the rows to be extracted fromrexNode
- expression meant to be applied on top of the rowsExpressions.toDruidExpression(PlannerContext, RowSignature, RexNode)
Copyright © 2011–2018. All rights reserved.