public static class Bindables.BindableWindow extends Window implements BindableRel
Window
in bindable convention.Window.Group, Window.RexWinAggCallInterpretableRel.InterpreterImplementorRelNode.Contextdigest, id, rowType, traitSet| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.linq4j.Enumerable<Object[]> |
bind(DataContext dataContext)
Executes this statement and returns an enumerable which will yield rows.
|
@Nullable RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq)
Returns the cost of this plan (not including children).
|
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
Class<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.
|
explainTerms, getCollation, getConstants, getHints, getProjectOrdinals, isValidchildrenAccept, deriveRowType, estimateRowCount, getInput, getInputs, replaceInputaccept, accept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getId, getTraitSetattachHints, withHintspublic RelNode 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 @Nullable RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
RelNodeNOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode), which gives plugins a
chance to override the rel's default ideas about cost.
computeSelfCost in interface RelNodecomputeSelfCost in class Windowplanner - Planner for cost calculationmq - Metadata querypublic Class<Object[]> getElementType()
TypedgetElementType in interface ArrayBindablegetElementType in interface Typedpublic org.apache.calcite.linq4j.Enumerable<Object[]> bind(DataContext dataContext)
Bindableenvironment parameter provides the values in the root of the
environment (usually schemas).public Node implement(InterpretableRel.InterpreterImplementor implementor)
InterpretableRelimplement in interface InterpretableRelCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.