public static class Bindables.BindableValues extends Values implements BindableRel
Values
in bindable calling convention.InterpretableRel.InterpreterImplementor
RelNode.Context
IS_EMPTY, IS_EMPTY_J, IS_NOT_EMPTY, tuples
digest, id, rowType, traitSet
Constructor and Description |
---|
BindableValues(RelOptCluster cluster,
RelDataType rowType,
com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples,
RelTraitSet traitSet) |
Modifier and Type | Method and Description |
---|---|
Enumerable<java.lang.Object[]> |
bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.
|
RelNode |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
java.lang.Class<java.lang.Object[]> |
getElementType()
Gets the type of the element(s) that are returned in this collection.
|
Node |
implement(InterpretableRel.InterpreterImplementor implementor)
Creates an interpreter node to implement this relational expression.
|
computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getTuples, getTuples, isEmpty, isNotEmpty
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput
getCluster, getDescription, getDigest, getId, getTraitSet
BindableValues(RelOptCluster cluster, RelDataType rowType, com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<RexLiteral>> tuples, RelTraitSet traitSet)
public RelNode copy(RelTraitSet traitSet, java.util.List<RelNode> inputs)
RelNode
Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy
in interface RelNode
copy
in class AbstractRelNode
traitSet
- Trait setinputs
- Inputspublic java.lang.Class<java.lang.Object[]> getElementType()
Typed
getElementType
in interface ArrayBindable
getElementType
in interface Typed
public Enumerable<java.lang.Object[]> bind(DataContext dataContext)
Bindable
environment
parameter provides the values in the root of the
environment (usually schemas).public Node implement(InterpretableRel.InterpreterImplementor implementor)
InterpretableRel
implement
in interface InterpretableRel
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.