Class Bindables.BindableMatch

All Implemented Interfaces:
Cloneable, BindableRel, InterpretableRel, RelOptNode, RelNode, ArrayBindable, Bindable<Object[]>, Typed
Enclosing class:
Bindables

public static class Bindables.BindableMatch
extends Match
implements BindableRel
Implementation of Match in bindable convention.
  • 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<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<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