Class EnumerableValues

All Implemented Interfaces:
Cloneable, EnumerableRel, RelOptNode, Hintable, PhysicalNode, RelNode

public class EnumerableValues extends Values implements EnumerableRel
  • Method Details

    • create

      public static EnumerableValues create(RelOptCluster cluster, RelDataType rowType, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples)
      Creates an EnumerableValues.
    • 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
    • passThrough

      public @Nullable RelNode passThrough(RelTraitSet required)
      Description copied from interface: PhysicalNode
      Pass required traitset from parent node to child nodes, returns new node after traits is passed down.
      Specified by:
      passThrough in interface PhysicalNode
    • getDeriveMode

      public DeriveMode getDeriveMode()
      Description copied from interface: PhysicalNode
      Returns mode of derivation.
      Specified by:
      getDeriveMode in interface EnumerableRel
      Specified by:
      getDeriveMode in interface PhysicalNode
    • implement

      Description copied from interface: EnumerableRel
      Creates a plan for this expression according to a calling convention.
      Specified by:
      implement in interface EnumerableRel
      Parameters:
      implementor - Implementor
      pref - Preferred representation for rows in result expression
      Returns:
      Plan for this expression according to a calling convention