| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.plan |
| Modifier and Type | Method and Description |
|---|---|
PlanNode |
ConnectorPlanRewriter.RewriteContext.defaultRewrite(PlanNode node)
Invoke the rewrite logic recursively on children of the given node and swap it
out with an identical copy with the rewritten children
|
PlanNode |
ConnectorPlanRewriter.RewriteContext.defaultRewrite(PlanNode node,
C context)
Invoke the rewrite logic recursively on children of the given node and swap it
out with an identical copy with the rewritten children
|
PlanNode |
ConnectorPlanOptimizer.optimize(PlanNode maxSubplan,
ConnectorSession session,
VariableAllocator variableAllocator,
PlanNodeIdAllocator idAllocator) |
PlanNode |
ConnectorPlanRewriter.RewriteContext.rewrite(PlanNode node)
This method is meant for invoking the rewrite logic on children while processing a node
|
PlanNode |
ConnectorPlanRewriter.RewriteContext.rewrite(PlanNode node,
C userContext)
This method is meant for invoking the rewrite logic on children while processing a node
|
static <C> PlanNode |
ConnectorPlanRewriter.rewriteWith(ConnectorPlanRewriter<C> rewriter,
PlanNode node) |
static <C> PlanNode |
ConnectorPlanRewriter.rewriteWith(ConnectorPlanRewriter<C> rewriter,
PlanNode node,
C context) |
PlanNode |
ConnectorPlanRewriter.visitPlan(PlanNode node,
ConnectorPlanRewriter.RewriteContext<C> context) |
| Modifier and Type | Method and Description |
|---|---|
PlanNode |
ConnectorPlanRewriter.RewriteContext.defaultRewrite(PlanNode node)
Invoke the rewrite logic recursively on children of the given node and swap it
out with an identical copy with the rewritten children
|
PlanNode |
ConnectorPlanRewriter.RewriteContext.defaultRewrite(PlanNode node,
C context)
Invoke the rewrite logic recursively on children of the given node and swap it
out with an identical copy with the rewritten children
|
PlanNode |
ConnectorPlanOptimizer.optimize(PlanNode maxSubplan,
ConnectorSession session,
VariableAllocator variableAllocator,
PlanNodeIdAllocator idAllocator) |
PlanNode |
ConnectorPlanRewriter.RewriteContext.rewrite(PlanNode node)
This method is meant for invoking the rewrite logic on children while processing a node
|
PlanNode |
ConnectorPlanRewriter.RewriteContext.rewrite(PlanNode node,
C userContext)
This method is meant for invoking the rewrite logic on children while processing a node
|
static <C> PlanNode |
ConnectorPlanRewriter.rewriteWith(ConnectorPlanRewriter<C> rewriter,
PlanNode node) |
static <C> PlanNode |
ConnectorPlanRewriter.rewriteWith(ConnectorPlanRewriter<C> rewriter,
PlanNode node,
C context) |
PlanNode |
ConnectorPlanRewriter.visitPlan(PlanNode node,
ConnectorPlanRewriter.RewriteContext<C> context) |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregationNode |
class |
DistinctLimitNode |
class |
ExceptNode |
class |
FilterNode |
class |
IntersectNode |
class |
LimitNode |
class |
MarkDistinctNode |
class |
ProjectNode |
class |
SetOperationNode |
class |
TableScanNode |
class |
TopNNode |
class |
UnionNode |
class |
ValuesNode |
| Modifier and Type | Method and Description |
|---|---|
PlanNode |
ValuesNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
UnionNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
TopNNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
TableScanNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
ProjectNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
abstract PlanNode |
PlanNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode)
Assigns statsEquivalentPlanNode to the plan node
|
PlanNode |
MarkDistinctNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
LimitNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
IntersectNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
FilterNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
ExceptNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
DistinctLimitNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
AggregationNode.assignStatsEquivalentPlanNode(Optional<PlanNode> statsEquivalentPlanNode) |
PlanNode |
PlanNodeWithHash.getPlanNode() |
PlanNode |
TopNNode.getSource() |
PlanNode |
ProjectNode.getSource() |
PlanNode |
MarkDistinctNode.getSource() |
PlanNode |
LimitNode.getSource()
LimitNode only expects a single upstream PlanNode.
|
PlanNode |
FilterNode.getSource()
FilterNode only expects a single upstream PlanNode.
|
PlanNode |
DistinctLimitNode.getSource() |
PlanNode |
AggregationNode.getSource() |
PlanNode |
ValuesNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
UnionNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
TopNNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
TableScanNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
ProjectNode.replaceChildren(List<PlanNode> newChildren) |
abstract PlanNode |
PlanNode.replaceChildren(List<PlanNode> newChildren)
Alter the upstream PlanNodes of the current PlanNode.
|
PlanNode |
MarkDistinctNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
LimitNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
IntersectNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
FilterNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
ExceptNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
DistinctLimitNode.replaceChildren(List<PlanNode> newChildren) |
PlanNode |
AggregationNode.replaceChildren(List<PlanNode> newChildren) |
| Modifier and Type | Method and Description |
|---|---|
List<PlanNode> |
ValuesNode.getSources() |
List<PlanNode> |
TopNNode.getSources() |
List<PlanNode> |
TableScanNode.getSources() |
List<PlanNode> |
SetOperationNode.getSources() |
List<PlanNode> |
ProjectNode.getSources() |
abstract List<PlanNode> |
PlanNode.getSources()
Get the upstream PlanNodes (i.e., children) of the current PlanNode.
|
List<PlanNode> |
MarkDistinctNode.getSources() |
List<PlanNode> |
LimitNode.getSources() |
List<PlanNode> |
FilterNode.getSources() |
List<PlanNode> |
DistinctLimitNode.getSources() |
List<PlanNode> |
AggregationNode.getSources() |
Optional<PlanNode> |
PlanNode.getStatsEquivalentPlanNode() |
| Modifier and Type | Method and Description |
|---|---|
LogicalProperties |
LogicalPropertiesProvider.getAssignUniqueIdProperties(PlanNode assignUniqueId) |
LogicalProperties |
LogicalPropertiesProvider.getJoinProperties(PlanNode joinNode) |
LogicalProperties |
LogicalPropertiesProvider.getSemiJoinProperties(PlanNode semiJNode) |
LogicalProperties |
LogicalPropertiesProvider.getSortProperties(PlanNode sortNode) |
abstract R |
PlanVisitor.visitPlan(PlanNode node,
C context)
The default behavior to perform when visiting a PlanNode
|
Copyright © 2012–2022. All rights reserved.