public class ExtractExtractionOperator extends Object implements SqlExtractionOperator
| Constructor and Description |
|---|
ExtractExtractionOperator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.sql.SqlFunction |
calciteFunction()
Returns the SQL operator corresponding to this aggregation function.
|
RowExtraction |
convert(PlannerContext plannerContext,
List<String> rowOrder,
org.apache.calcite.rex.RexNode expression)
Returns the Druid
RowExtraction corresponding to a SQL RexNode. |
public org.apache.calcite.sql.SqlFunction calciteFunction()
SqlExtractionOperatorcalciteFunction in interface SqlExtractionOperatorpublic RowExtraction convert(PlannerContext plannerContext, List<String> rowOrder, org.apache.calcite.rex.RexNode expression)
SqlExtractionOperatorRowExtraction corresponding to a SQL RexNode.convert in interface SqlExtractionOperatorplannerContext - SQL planner contextrowOrder - order of fields in the Druid rows to be extracted fromexpression - expression meant to be applied on top of the tableExpressions.toRowExtraction(PlannerContext, List, RexNode)Copyright © 2011–2017. All rights reserved.