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.
|
protected void |
visitNode(PlanNode node,
int nodeLevel,
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
XMLStreamExceptionprotected void visitNode(PlanNode node, int nodeLevel, 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 © 2018 JBoss by Red Hat. All rights reserved.