Class TransformNode
- 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.TransformNode
-
- All Implemented Interfaces:
org.apache.iotdb.consensus.common.request.IConsensusRequest
- Direct Known Subclasses:
FilterNode
public class TransformNode extends ProcessNode
-
-
Field Summary
Fields Modifier and Type Field Description protected PlanNodechildPlanNodeprotected booleankeepNullprotected Expression[]outputExpressionsprotected OrderingscanOrderprotected java.time.ZoneIdzoneId-
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 TransformNode(PlanNodeId id, Expression[] outputExpressions, boolean keepNull, java.time.ZoneId zoneId, Ordering scanOrder)TransformNode(PlanNodeId id, PlanNode childPlanNode, Expression[] outputExpressions, boolean keepNull, java.time.ZoneId zoneId, 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 childPlanNode)intallowedChildCount()PlanNodeclone()static TransformNodedeserialize(java.nio.ByteBuffer byteBuffer)booleanequals(java.lang.Object o)java.util.List<PlanNode>getChildren()java.util.List<java.lang.String>getOutputColumnNames()Expression[]getOutputExpressions()OrderinggetScanOrder()java.time.ZoneIdgetZoneId()inthashCode()booleanisKeepNull()protected voidserializeAttributes(java.io.DataOutputStream stream)protected voidserializeAttributes(java.nio.ByteBuffer byteBuffer)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
-
childPlanNode
protected PlanNode childPlanNode
-
outputExpressions
protected final Expression[] outputExpressions
-
keepNull
protected final boolean keepNull
-
zoneId
protected final java.time.ZoneId zoneId
-
scanOrder
protected final Ordering scanOrder
-
-
Constructor Detail
-
TransformNode
public TransformNode(PlanNodeId id, PlanNode childPlanNode, Expression[] outputExpressions, boolean keepNull, java.time.ZoneId zoneId, Ordering scanOrder)
-
TransformNode
public TransformNode(PlanNodeId id, Expression[] outputExpressions, boolean keepNull, java.time.ZoneId zoneId, Ordering scanOrder)
-
-
Method Detail
-
getChildren
public final java.util.List<PlanNode> getChildren()
- Specified by:
getChildrenin classPlanNode
-
addChild
public final void addChild(PlanNode childPlanNode)
-
allowedChildCount
public final int allowedChildCount()
- Specified by:
allowedChildCountin classPlanNode
-
getOutputColumnNames
public final 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 TransformNode deserialize(java.nio.ByteBuffer byteBuffer)
-
getOutputExpressions
public final Expression[] getOutputExpressions()
-
isKeepNull
public final boolean isKeepNull()
-
getZoneId
public final java.time.ZoneId getZoneId()
-
getScanOrder
public Ordering getScanOrder()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-