Package io.trino.sql.planner.planprinter
Class NodeRepresentation
- java.lang.Object
-
- io.trino.sql.planner.planprinter.NodeRepresentation
-
public class NodeRepresentation extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeRepresentation.TypedSymbol
-
Constructor Summary
Constructors Constructor Description NodeRepresentation(PlanNodeId id, String name, String type, String identifier, List<NodeRepresentation.TypedSymbol> outputs, Optional<PlanNodeStats> stats, List<PlanNodeStatsEstimate> estimatedStats, List<PlanCostEstimate> estimatedCost, Optional<PlanNodeStatsAndCostSummary> reorderJoinStatsAndCost, List<PlanNodeId> children, List<PlanFragmentId> remoteSources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendDetails(String string, Object... args)voidappendDetailsLine(String string, Object... args)List<PlanNodeId>getChildren()StringgetDetails()List<PlanCostEstimate>getEstimatedCost()List<PlanNodeStatsEstimate>getEstimatedStats()PlanNodeIdgetId()StringgetIdentifier()StringgetName()List<NodeRepresentation.TypedSymbol>getOutputs()List<PlanFragmentId>getRemoteSources()Optional<PlanNodeStatsAndCostSummary>getReorderJoinStatsAndCost()Optional<PlanNodeStats>getStats()StringgetType()
-
-
-
Constructor Detail
-
NodeRepresentation
public NodeRepresentation(PlanNodeId id, String name, String type, String identifier, List<NodeRepresentation.TypedSymbol> outputs, Optional<PlanNodeStats> stats, List<PlanNodeStatsEstimate> estimatedStats, List<PlanCostEstimate> estimatedCost, Optional<PlanNodeStatsAndCostSummary> reorderJoinStatsAndCost, List<PlanNodeId> children, List<PlanFragmentId> remoteSources)
-
-
Method Detail
-
getId
public PlanNodeId getId()
-
getName
public String getName()
-
getType
public String getType()
-
getIdentifier
public String getIdentifier()
-
getOutputs
public List<NodeRepresentation.TypedSymbol> getOutputs()
-
getChildren
public List<PlanNodeId> getChildren()
-
getRemoteSources
public List<PlanFragmentId> getRemoteSources()
-
getDetails
public String getDetails()
-
getStats
public Optional<PlanNodeStats> getStats()
-
getEstimatedStats
public List<PlanNodeStatsEstimate> getEstimatedStats()
-
getEstimatedCost
public List<PlanCostEstimate> getEstimatedCost()
-
getReorderJoinStatsAndCost
public Optional<PlanNodeStatsAndCostSummary> getReorderJoinStatsAndCost()
-
-