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() |
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
XMLStreamException
protected void visitNode(PlanNode node, int nodeLevel, StringBuilder text)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.