public class PhysicalPlanReader extends Object
| Constructor and Description |
|---|
PhysicalPlanReader(DrillConfig config,
ScanResult scanResult,
LogicalPlanPersistence lpPersistance,
CoordinationProtos.DrillbitEndpoint endpoint,
StoragePluginRegistry pluginRegistry) |
| Modifier and Type | Method and Description |
|---|---|
FragmentLeaf |
readFragmentLeaf(String json) |
FragmentRoot |
readFragmentRoot(String json) |
LogicalPlan |
readLogicalPlan(String json) |
PhysicalPlan |
readPhysicalPlan(String json) |
String |
writeJson(OptionList list) |
String |
writeJson(PhysicalOperator op) |
public PhysicalPlanReader(DrillConfig config, ScanResult scanResult, LogicalPlanPersistence lpPersistance, CoordinationProtos.DrillbitEndpoint endpoint, StoragePluginRegistry pluginRegistry)
public String writeJson(OptionList list) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic String writeJson(PhysicalOperator op) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic PhysicalPlan readPhysicalPlan(String json) throws IOException
IOExceptionpublic FragmentRoot readFragmentRoot(String json) throws IOException
IOExceptionpublic FragmentLeaf readFragmentLeaf(String json) throws IOException
IOExceptionpublic LogicalPlan readLogicalPlan(String json) throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.