Class SlidingWindowAggregationNode
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.process.ProcessNode
-
- org.apache.iotdb.db.mpp.plan.planner.plan.node.process.SlidingWindowAggregationNode
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
public class SlidingWindowAggregationNode extends ProcessNode
-
-
Field Summary
Fields Modifier and Type Field Description protected OrderingscanOrder-
Fields inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
CHILD_COUNT_NO_LIMIT, NO_CHILD_ALLOWED, ONE_CHILD
-
-
Constructor Summary
Constructors Constructor Description SlidingWindowAggregationNode(PlanNodeId id, java.util.List<AggregationDescriptor> aggregationDescriptorList, GroupByTimeParameter groupByTimeParameter, Ordering scanOrder)SlidingWindowAggregationNode(PlanNodeId id, PlanNode child, java.util.List<AggregationDescriptor> aggregationDescriptorList, GroupByTimeParameter groupByTimeParameter, Ordering scanOrder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(PlanVisitor<R,C> visitor, C context)voidaddChild(PlanNode child)intallowedChildCount()PlanNodeclone()static SlidingWindowAggregationNodedeserialize(java.nio.ByteBuffer byteBuffer)booleanequals(java.lang.Object o)java.util.List<AggregationDescriptor>getAggregationDescriptorList()PlanNodegetChild()java.util.List<PlanNode>getChildren()GroupByTimeParametergetGroupByTimeParameter()java.util.List<java.lang.String>getOutputColumnNames()OrderinggetScanOrder()inthashCode()protected voidserializeAttributes(java.io.DataOutputStream stream)protected voidserializeAttributes(java.nio.ByteBuffer byteBuffer)voidsetAggregationDescriptorList(java.util.List<AggregationDescriptor> aggregationDescriptorList)java.lang.StringtoString()-
Methods inherited from class org.apache.iotdb.db.mpp.plan.planner.plan.node.PlanNode
cloneWithChildren, getPlanNodeId, serialize, serialize, serializeToByteBuffer, setPlanNodeId
-
-
-
-
Field Detail
-
scanOrder
protected Ordering scanOrder
-
-
Constructor Detail
-
SlidingWindowAggregationNode
public SlidingWindowAggregationNode(PlanNodeId id, java.util.List<AggregationDescriptor> aggregationDescriptorList, GroupByTimeParameter groupByTimeParameter, Ordering scanOrder)
-
SlidingWindowAggregationNode
public SlidingWindowAggregationNode(PlanNodeId id, PlanNode child, java.util.List<AggregationDescriptor> aggregationDescriptorList, GroupByTimeParameter groupByTimeParameter, Ordering scanOrder)
-
-
Method Detail
-
getAggregationDescriptorList
public java.util.List<AggregationDescriptor> getAggregationDescriptorList()
-
setAggregationDescriptorList
public void setAggregationDescriptorList(java.util.List<AggregationDescriptor> aggregationDescriptorList)
-
getGroupByTimeParameter
public GroupByTimeParameter getGroupByTimeParameter()
-
getScanOrder
public Ordering getScanOrder()
-
getChild
public PlanNode getChild()
-
getChildren
public java.util.List<PlanNode> getChildren()
- Specified by:
getChildrenin classPlanNode
-
allowedChildCount
public int allowedChildCount()
- Specified by:
allowedChildCountin classPlanNode
-
getOutputColumnNames
public java.util.List<java.lang.String> getOutputColumnNames()
- Specified by:
getOutputColumnNamesin classPlanNode
-
accept
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
-
serializeAttributes
protected void serializeAttributes(java.nio.ByteBuffer byteBuffer)
- Specified by:
serializeAttributesin classPlanNode
-
serializeAttributes
protected void serializeAttributes(java.io.DataOutputStream stream) throws java.io.IOException- Specified by:
serializeAttributesin classPlanNode- Throws:
java.io.IOException
-
deserialize
public static SlidingWindowAggregationNode deserialize(java.nio.ByteBuffer byteBuffer)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-