public interface ExpressionConversion
Modifier and Type | Method and Description |
---|---|
RowExtraction |
convert(ExpressionConverter converter,
PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression)
Translate a row-expression to a Druid column reference.
|
String |
operatorName()
Operator name, if
sqlKind() is OTHER_FUNCTION . |
org.apache.calcite.sql.SqlKind |
sqlKind()
SQL kind that this converter knows how to convert.
|
org.apache.calcite.sql.SqlKind sqlKind()
String operatorName()
sqlKind()
is OTHER_FUNCTION
.RowExtraction convert(ExpressionConverter converter, PlannerContext plannerContext, List<String> rowOrder, org.apache.calcite.rex.RexNode expression)
converter
- converter that can be used to convert sub-expressionsplannerContext
- SQL planner contextrowOrder
- order of fields in the Druid rows to be extracted fromexpression
- expression meant to be applied on top of the tableCopyright © 2011–2017. All rights reserved.