Package org.apache.drill.exec.planner
Class PhysicalPlanReader
java.lang.Object
org.apache.drill.exec.planner.PhysicalPlanReader
-
Constructor Summary
ConstructorDescriptionPhysicalPlanReader
(DrillConfig config, ScanResult scanResult, LogicalPlanPersistence lpPersistance, CoordinationProtos.DrillbitEndpoint endpoint, StoragePluginRegistry pluginRegistry) -
Method Summary
Modifier and TypeMethodDescriptionreadFragmentLeaf
(String json) readFragmentRoot
(String json) readLogicalPlan
(String json) readPhysicalPlan
(String json) writeJson
(OptionList list)
-
Constructor Details
-
PhysicalPlanReader
public PhysicalPlanReader(DrillConfig config, ScanResult scanResult, LogicalPlanPersistence lpPersistance, CoordinationProtos.DrillbitEndpoint endpoint, StoragePluginRegistry pluginRegistry)
-
-
Method Details
-
writeJson
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
writeJson
public String writeJson(PhysicalOperator op) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
readPhysicalPlan
- Throws:
IOException
-
readFragmentRoot
- Throws:
IOException
-
readFragmentLeaf
- Throws:
IOException
-
readLogicalPlan
- Throws:
IOException
-