public class EnumerableInterpretable extends ConverterImpl implements InterpretableRel
EnumerableConvention,
BindableConvention| Modifier and Type | Class and Description |
|---|---|
private static class |
EnumerableInterpretable.EnumerableNode
Interpreter node that reads from an
Enumerable. |
InterpretableRel.InterpreterImplementorRelNode.ContextinTraits, traitDefdigest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
protected |
EnumerableInterpretable(RelOptCluster cluster,
RelNode input) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static ArrayBindable |
box(Bindable bindable)
Converts a bindable over scalar values into an array bindable, with each
row as an array of 1 element.
|
EnumerableInterpretable |
copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
(package private) static ArrayBindable |
getArrayBindable(ClassDeclaration expr,
String s,
int fieldCount) |
(package private) static Bindable |
getBindable(ClassDeclaration expr,
String s,
int fieldCount) |
Node |
implement(InterpretableRel.InterpreterImplementor implementor)
Creates an interpreter node to implement this relational expression.
|
static Bindable |
toBindable(Map<String,Object> parameters,
CalcitePrepare.SparkHandler spark,
EnumerableRel rel,
EnumerableRel.Prefer prefer) |
cannotImplement, computeSelfCost, getInputTraits, getTraitDefchildrenAccept, deriveRowType, estimateRowCount, explainTerms, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, 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, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprotected EnumerableInterpretable(RelOptCluster cluster, RelNode input)
public EnumerableInterpretable copy(RelTraitSet traitSet, List<RelNode> inputs)
RelNodeSub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy in interface RelNodecopy in class AbstractRelNodetraitSet - Trait setinputs - Inputspublic Node implement(InterpretableRel.InterpreterImplementor implementor)
InterpretableRelimplement in interface InterpretableRelpublic static Bindable toBindable(Map<String,Object> parameters, CalcitePrepare.SparkHandler spark, EnumerableRel rel, EnumerableRel.Prefer prefer)
static ArrayBindable getArrayBindable(ClassDeclaration expr, String s, int fieldCount) throws org.codehaus.commons.compiler.CompileException, IOException
org.codehaus.commons.compiler.CompileExceptionIOExceptionstatic Bindable getBindable(ClassDeclaration expr, String s, int fieldCount) throws org.codehaus.commons.compiler.CompileException, IOException
org.codehaus.commons.compiler.CompileExceptionIOExceptionstatic ArrayBindable box(Bindable bindable)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.