Class Values

All Implemented Interfaces:
Cloneable, RelOptNode, RelNode
Direct Known Subclasses:
Bindables.BindableValues, EnumerableValues, JdbcRules.JdbcValues, LogicalValues, SparkRules.SparkValues

public abstract class Values
extends AbstractRelNode
Relational expression whose value is a sequence of zero or more literal row values.
  • Field Details

  • Constructor Details

    • Values

      protected Values​(RelOptCluster cluster, RelDataType rowType,<<RexLiteral>> tuples, RelTraitSet traits)
      Creates a new Values.

      Note that tuples passed in become owned by this rel (without a deep copy), so caller must not modify them after this call, otherwise bad things will happen.

      cluster - Cluster that this relational expression belongs to
      rowType - Row type for tuples produced by this rel
      tuples - 2-dimensional array of tuple values to be produced; outer list contains tuples; each inner list is one tuple; all tuples must be of same length, conforming to rowType
    • Values

      public Values​(RelInput input)
      Creates a Values by parsing serialized output.
  • Method Details