public class FlinkLogicalWindowAggregate extends org.apache.calcite.rel.core.Aggregate implements FlinkLogicalRel
Constructor and Description |
---|
FlinkLogicalWindowAggregate(LogicalWindow window,
scala.collection.Seq<FlinkRelBuilder.NamedWindowProperty> namedProperties,
org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode child,
boolean indicator,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.RelNode |
accept(org.apache.calcite.rel.RelShuttle shuttle) |
static void |
childrenAccept(org.apache.calcite.rel.RelVisitor x$1) |
static void |
collectVariablesSet(Set<org.apache.calcite.rel.core.CorrelationId> x$1) |
static void |
collectVariablesUsed(Set<org.apache.calcite.rel.core.CorrelationId> x$1) |
protected static String |
computeDigest() |
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery metadata) |
static boolean |
containsDistinctCall() |
static FlinkLogicalWindowAggregateConverter |
CONVERTER() |
org.apache.calcite.rel.core.Aggregate |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
boolean indicator,
org.apache.calcite.util.ImmutableBitSet groupSet,
List<org.apache.calcite.util.ImmutableBitSet> groupSets,
List<org.apache.calcite.rel.core.AggregateCall> aggCalls) |
org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
static double |
estimateDataTypeSize(org.apache.calcite.rel.type.RelDataType t) |
static double |
estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery x$1) |
static double |
estimateRowSize(org.apache.calcite.rel.type.RelDataType rowType) |
static void |
explain(org.apache.calcite.rel.RelWriter x$1) |
static org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter x$1) |
static List<org.apache.calcite.rel.core.AggregateCall> |
getAggCallList() |
static List<org.apache.calcite.rex.RexNode> |
getChildExps() |
static org.apache.calcite.plan.RelOptCluster |
getCluster() |
static List<org.apache.calcite.rel.RelCollation> |
getCollationList() |
static org.apache.calcite.plan.Convention |
getConvention() |
static String |
getCorrelVariable() |
static String |
getDescription() |
static String |
getDigest() |
static org.apache.calcite.rel.type.RelDataType |
getExpectedInputRowType(int x$1) |
static String |
getExpressionString(org.apache.calcite.rex.RexNode expr,
scala.collection.immutable.List<String> inFields,
scala.Option<scala.collection.immutable.List<org.apache.calcite.rex.RexNode>> localExprsTable) |
static int |
getGroupCount() |
static org.apache.calcite.util.ImmutableBitSet |
getGroupSet() |
static com.google.common.collect.ImmutableList<org.apache.calcite.util.ImmutableBitSet> |
getGroupSets() |
static org.apache.calcite.rel.core.Aggregate.Group |
getGroupType() |
static int |
getId() |
static int |
getIndicatorCount() |
static org.apache.calcite.rel.RelNode |
getInput() |
static org.apache.calcite.rel.RelNode |
getInput(int x$1) |
static List<org.apache.calcite.rel.RelNode> |
getInputs() |
static List<org.apache.calcite.util.Pair<org.apache.calcite.rel.core.AggregateCall,String>> |
getNamedAggCalls() |
scala.collection.Seq<FlinkRelBuilder.NamedWindowProperty> |
getNamedProperties() |
static org.apache.calcite.plan.RelOptQuery |
getQuery() |
static String |
getRelTypeName() |
static double |
getRows() |
static org.apache.calcite.rel.type.RelDataType |
getRowType() |
static org.apache.calcite.plan.RelOptTable |
getTable() |
static org.apache.calcite.plan.RelTraitSet |
getTraitSet() |
static Set<org.apache.calcite.rel.core.CorrelationId> |
getVariablesSet() |
static Set<String> |
getVariablesStopped() |
LogicalWindow |
getWindow() |
static boolean |
isDistinct() |
static boolean |
isKey(org.apache.calcite.util.ImmutableBitSet x$1) |
static boolean |
isValid(boolean x$1) |
static boolean |
isValid(org.apache.calcite.util.Litmus x$1,
org.apache.calcite.rel.RelNode.Context x$2) |
static <M extends org.apache.calcite.rel.metadata.Metadata> |
metadata(Class<M> x$1,
org.apache.calcite.rel.metadata.RelMetadataQuery x$2) |
static org.apache.calcite.rel.RelNode |
onRegister(org.apache.calcite.plan.RelOptPlanner x$1) |
static String |
recomputeDigest() |
static void |
register(org.apache.calcite.plan.RelOptPlanner x$1) |
static void |
replaceInput(int x$1,
org.apache.calcite.rel.RelNode x$2) |
static String |
toString() |
containsDistinctCall, copy, deriveRowType, estimateRowCount, explainTerms, getAggCallList, getGroupCount, getGroupSet, getGroupSets, getGroupType, getIndicatorCount, getNamedAggCalls, isValid
childrenAccept, getInput, getInputs, replaceInput
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, metadata, onRegister, recomputeDigest, register, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
estimateDataTypeSize, estimateRowSize, getExpressionString
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, 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
public FlinkLogicalWindowAggregate(LogicalWindow window, scala.collection.Seq<FlinkRelBuilder.NamedWindowProperty> namedProperties, org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode child, boolean indicator, org.apache.calcite.util.ImmutableBitSet groupSet, List<org.apache.calcite.util.ImmutableBitSet> groupSets, List<org.apache.calcite.rel.core.AggregateCall> aggCalls)
public static FlinkLogicalWindowAggregateConverter CONVERTER()
public static List<org.apache.calcite.rex.RexNode> getChildExps()
public static final org.apache.calcite.plan.RelOptCluster getCluster()
public static final org.apache.calcite.plan.Convention getConvention()
public static org.apache.calcite.plan.RelTraitSet getTraitSet()
public static String getCorrelVariable()
public static boolean isDistinct()
public static boolean isKey(org.apache.calcite.util.ImmutableBitSet x$1)
public static int getId()
public static org.apache.calcite.rel.RelNode getInput(int x$1)
public static final org.apache.calcite.plan.RelOptQuery getQuery()
public static void register(org.apache.calcite.plan.RelOptPlanner x$1)
public static final String getRelTypeName()
public static boolean isValid(boolean x$1)
public static List<org.apache.calcite.rel.RelCollation> getCollationList()
public static final org.apache.calcite.rel.type.RelDataType getRowType()
public static org.apache.calcite.rel.type.RelDataType getExpectedInputRowType(int x$1)
public static final double getRows()
public static Set<org.apache.calcite.rel.core.CorrelationId> getVariablesSet()
public static void collectVariablesUsed(Set<org.apache.calcite.rel.core.CorrelationId> x$1)
public static void collectVariablesSet(Set<org.apache.calcite.rel.core.CorrelationId> x$1)
public static final <M extends org.apache.calcite.rel.metadata.Metadata> M metadata(Class<M> x$1, org.apache.calcite.rel.metadata.RelMetadataQuery x$2)
public static void explain(org.apache.calcite.rel.RelWriter x$1)
public static org.apache.calcite.rel.RelNode onRegister(org.apache.calcite.plan.RelOptPlanner x$1)
public static String recomputeDigest()
public static String toString()
public static final String getDescription()
public static final String getDigest()
public static org.apache.calcite.plan.RelOptTable getTable()
protected static String computeDigest()
public static org.apache.calcite.rel.RelNode getInput()
public static List<org.apache.calcite.rel.RelNode> getInputs()
public static void childrenAccept(org.apache.calcite.rel.RelVisitor x$1)
public static void replaceInput(int x$1, org.apache.calcite.rel.RelNode x$2)
public static List<org.apache.calcite.rel.core.AggregateCall> getAggCallList()
public static List<org.apache.calcite.util.Pair<org.apache.calcite.rel.core.AggregateCall,String>> getNamedAggCalls()
public static int getGroupCount()
public static int getIndicatorCount()
public static org.apache.calcite.util.ImmutableBitSet getGroupSet()
public static com.google.common.collect.ImmutableList<org.apache.calcite.util.ImmutableBitSet> getGroupSets()
public static org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter x$1)
public static double estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery x$1)
public static boolean isValid(org.apache.calcite.util.Litmus x$1, org.apache.calcite.rel.RelNode.Context x$2)
public static boolean containsDistinctCall()
public static org.apache.calcite.rel.core.Aggregate.Group getGroupType()
public static String getExpressionString(org.apache.calcite.rex.RexNode expr, scala.collection.immutable.List<String> inFields, scala.Option<scala.collection.immutable.List<org.apache.calcite.rex.RexNode>> localExprsTable)
public static double estimateRowSize(org.apache.calcite.rel.type.RelDataType rowType)
public static double estimateDataTypeSize(org.apache.calcite.rel.type.RelDataType t)
public LogicalWindow getWindow()
public scala.collection.Seq<FlinkRelBuilder.NamedWindowProperty> getNamedProperties()
public org.apache.calcite.rel.core.Aggregate copy(org.apache.calcite.plan.RelTraitSet traitSet, org.apache.calcite.rel.RelNode input, boolean indicator, org.apache.calcite.util.ImmutableBitSet groupSet, List<org.apache.calcite.util.ImmutableBitSet> groupSets, List<org.apache.calcite.rel.core.AggregateCall> aggCalls)
copy
in class org.apache.calcite.rel.core.Aggregate
public org.apache.calcite.rel.RelNode accept(org.apache.calcite.rel.RelShuttle shuttle)
accept
in interface org.apache.calcite.rel.RelNode
accept
in class org.apache.calcite.rel.AbstractRelNode
public org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType
in class org.apache.calcite.rel.core.Aggregate
public org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.metadata.RelMetadataQuery metadata)
computeSelfCost
in interface org.apache.calcite.rel.RelNode
computeSelfCost
in class org.apache.calcite.rel.core.Aggregate
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.