Class InterpretableConverter

All Implemented Interfaces:
Cloneable, RelOptNode, Converter, RelNode, ArrayBindable, Bindable<@Nullable Object[]>, Typed

public class InterpretableConverter extends ConverterImpl implements ArrayBindable
Relational expression that converts any relational expression input to InterpretableConvention, by wrapping it in an interpreter.
  • Constructor Details

  • Method Details

    • copy

      public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
      Description copied from interface: RelNode
      Creates a copy of this relational expression, perhaps changing traits and inputs.

      Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.

      Specified by:
      copy in interface RelNode
      Overrides:
      copy in class AbstractRelNode
      Parameters:
      traitSet - Trait set
      inputs - Inputs
      Returns:
      Copy of this relational expression, substituting traits and inputs
    • getElementType

      public Class<Object[]> getElementType()
      Description copied from interface: Typed
      Gets the type of the element(s) that are returned in this collection.
      Specified by:
      getElementType in interface ArrayBindable
      Specified by:
      getElementType in interface Typed
    • bind

      public Enumerable<@Nullable Object[]> bind(DataContext dataContext)
      Description copied from interface: Bindable
      Executes this statement and returns an enumerable which will yield rows. The environment parameter provides the values in the root of the environment (usually schemas).
      Specified by:
      bind in interface Bindable<@Nullable Object[]>
      Parameters:
      dataContext - Environment that provides tables
      Returns:
      Enumerable over rows