Class AuxiliaryConverter.Impl

java.lang.Object
org.apache.calcite.sql2rel.AuxiliaryConverter.Impl
All Implemented Interfaces:
AuxiliaryConverter
Enclosing interface:
AuxiliaryConverter

public static class AuxiliaryConverter.Impl extends Object implements AuxiliaryConverter
Simple implementation of AuxiliaryConverter.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.calcite.sql2rel.AuxiliaryConverter

    AuxiliaryConverter.Impl
  • Constructor Summary

    Constructors
    Constructor
    Description
    Impl(org.apache.calcite.sql.SqlFunction f)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.rex.RexNode
    convert(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rex.RexNode groupCall, org.apache.calcite.rex.RexNode e)
    Converts an expression.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Impl

      public Impl(org.apache.calcite.sql.SqlFunction f)
  • Method Details

    • convert

      public org.apache.calcite.rex.RexNode convert(org.apache.calcite.rex.RexBuilder rexBuilder, org.apache.calcite.rex.RexNode groupCall, org.apache.calcite.rex.RexNode e)
      Description copied from interface: AuxiliaryConverter
      Converts an expression.
      Specified by:
      convert in interface AuxiliaryConverter
      Parameters:
      rexBuilder - Rex builder
      groupCall - Call to the group function, e.g. "TUMBLE($2, 36000)"
      e - Expression holding result of the group function, e.g. "$0"
      Returns:
      Expression for auxiliary function, e.g. "$0 + 36000" converts the result of TUMBLE to the result of TUMBLE_END