Class EnumerableBindable

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

public class EnumerableBindable extends ConverterImpl implements BindableRel
Relational expression that converts an enumerable input to interpretable calling convention.
See Also:
  • Constructor Details

  • Method Details

    • copy

      public EnumerableBindable 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
    • implement

      public Node implement(InterpretableRel.InterpreterImplementor implementor)
      Description copied from interface: InterpretableRel
      Creates an interpreter node to implement this relational expression.
      Specified by:
      implement in interface InterpretableRel