org.eigenbase.rel
Class ValuesRel
java.lang.Object
org.eigenbase.rel.AbstractRelNode
org.eigenbase.rel.ValuesRelBase
org.eigenbase.rel.ValuesRel
- All Implemented Interfaces:
- Cloneable, RelNode
public class ValuesRel
- extends ValuesRelBase
ValuesRel
represents a sequence of zero or more literal row
values.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rel/ValuesRel.java#6 $
- Author:
- John V. Sichi
Methods inherited from class org.eigenbase.rel.AbstractRelNode |
childrenAccept, cloneTraits, collectVariablesSet, collectVariablesUsed, computeDigest, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRowType, getTable, getTraits, getVariablesStopped, inheritTraitsFrom, isAccessTo, isDistinct, isValid, onRegister, recomputeDigest, register, registerCorrelVariable, replaceInput, setCorrelVariable, toString |
ValuesRel
public ValuesRel(RelOptCluster cluster,
RelDataType rowType,
List<List<RexLiteral>> tuples)
- Creates a new ValuesRel. 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.
- Parameters:
cluster
- .rowType
- row type for tuples produced by this reltuples
- 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