public class PlanNode extends Object implements Externalizable
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanNode.Property
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String pname,
List<String> value) |
void |
addProperty(String pname,
PlanNode value) |
void |
addProperty(String pname,
String value) |
static PlanNode |
fromXml(String planString) |
String |
getName() |
PlanNode |
getParent() |
List<PlanNode.Property> |
getProperties() |
PlanNode.Property |
getProperty(String pName) |
void |
readExternal(ObjectInput in) |
String |
toString() |
String |
toXml()
Converts this PlanNode to XML.
|
String |
toYaml() |
protected void |
visitNode(PlanNode node,
int nodeLevel,
boolean yaml,
StringBuilder text) |
void |
writeExternal(ObjectOutput out) |
public PlanNode()
public PlanNode(String name)
public String getName()
public PlanNode getParent()
public List<PlanNode.Property> getProperties()
public String toXml()
public static PlanNode fromXml(String planString) throws XMLStreamException
XMLStreamExceptionpublic String toYaml()
protected void visitNode(PlanNode node, int nodeLevel, boolean yaml, StringBuilder text)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic PlanNode.Property getProperty(String pName)
Copyright © 2020. All rights reserved.