public class PhysicalPlan extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Graph<PhysicalOperator,Root,Leaf> |
graph |
protected PlanProperties |
properties |
| Constructor and Description |
|---|
PhysicalPlan(PlanProperties properties,
List<PhysicalOperator> operators) |
| Modifier and Type | Method and Description |
|---|---|
PlanProperties |
getProperties() |
List<PhysicalOperator> |
getSortedOperators() |
List<PhysicalOperator> |
getSortedOperators(boolean reverse) |
Graph<PhysicalOperator,Root,Leaf> |
graph() |
static PhysicalPlan |
parse(com.fasterxml.jackson.databind.ObjectReader reader,
String planString)
Parses a physical plan.
|
double |
totalCost() |
String |
unparse(com.fasterxml.jackson.databind.ObjectWriter writer)
Converts a physical plan to a string.
|
protected PlanProperties properties
protected Graph<PhysicalOperator,Root,Leaf> graph
public PhysicalPlan(PlanProperties properties, List<PhysicalOperator> operators)
public List<PhysicalOperator> getSortedOperators()
public List<PhysicalOperator> getSortedOperators(boolean reverse)
public PlanProperties getProperties()
public static PhysicalPlan parse(com.fasterxml.jackson.databind.ObjectReader reader, String planString)
public String unparse(com.fasterxml.jackson.databind.ObjectWriter writer)
parse(com.fasterxml.jackson.databind.ObjectReader, java.lang.String).)public double totalCost()
public Graph<PhysicalOperator,Root,Leaf> graph()
Copyright © 2021 The Apache Software Foundation. All rights reserved.