public static class DruidSqlOperatorConverter.UnaryFunctionOperatorConversion extends Object implements org.apache.calcite.adapter.druid.DruidSqlOperatorConverter
Constructor and Description |
---|
UnaryFunctionOperatorConversion(org.apache.calcite.sql.SqlOperator operator,
String druidOperator) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.sql.SqlOperator |
calciteOperator() |
String |
toDruidExpression(org.apache.calcite.rex.RexNode rexNode,
org.apache.calcite.rel.type.RelDataType rowType,
org.apache.calcite.adapter.druid.DruidQuery druidQuery) |
public UnaryFunctionOperatorConversion(org.apache.calcite.sql.SqlOperator operator, String druidOperator)
public org.apache.calcite.sql.SqlOperator calciteOperator()
calciteOperator
in interface org.apache.calcite.adapter.druid.DruidSqlOperatorConverter
public String toDruidExpression(org.apache.calcite.rex.RexNode rexNode, org.apache.calcite.rel.type.RelDataType rowType, org.apache.calcite.adapter.druid.DruidQuery druidQuery)
toDruidExpression
in interface org.apache.calcite.adapter.druid.DruidSqlOperatorConverter
Copyright © 2022 The Apache Software Foundation. All rights reserved.