Interface DruidSqlOperatorConverter

    • Method Detail

      • calciteOperator

        SqlOperator calciteOperator()
        Returns the calcite SQL operator corresponding to Druid operator.
        Returns:
        operator
      • toDruidExpression

        @Nullable
        java.lang.String toDruidExpression​(RexNode rexNode,
                                           RelDataType rowType,
                                           DruidQuery druidQuery)
        Translate rexNode to valid Druid expression.
        Parameters:
        rexNode - rexNode to translate to Druid expression
        rowType - row type associated with rexNode
        druidQuery - druid query used to figure out configs/fields related like timeZone
        Returns:
        valid Druid expression or null if it can not convert the rexNode