public class RegexpLikeOperatorConversion extends Object implements SqlOperatorConversion
| Constructor and Description |
|---|
RegexpLikeOperatorConversion() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.sql.SqlFunction |
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. |
DimFilter |
toDruidFilter(PlannerContext plannerContext,
RowSignature rowSignature,
VirtualColumnRegistry virtualColumnRegistry,
org.apache.calcite.rex.RexNode rexNode)
Returns a Druid filter corresponding to a Calcite
RexNode used as a filter condition. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoDruidExpressionWithPostAggOperands, toPostAggregatorpublic org.apache.calcite.sql.SqlFunction calciteOperator()
SqlOperatorConversioncalciteOperator in interface SqlOperatorConversionpublic DruidExpression toDruidExpression(PlannerContext plannerContext, RowSignature rowSignature, org.apache.calcite.rex.RexNode rexNode)
SqlOperatorConversionRexNode to a Druid expression.toDruidExpression in interface SqlOperatorConversionplannerContext - 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)@Nullable public DimFilter toDruidFilter(PlannerContext plannerContext, RowSignature rowSignature, @Nullable VirtualColumnRegistry virtualColumnRegistry, org.apache.calcite.rex.RexNode rexNode)
SqlOperatorConversionRexNode used as a filter condition.toDruidFilter in interface SqlOperatorConversionplannerContext - SQL planner contextrowSignature - input row signaturevirtualColumnRegistry - re-usable virtual column referencesrexNode - filter expression rex nodeCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.