public abstract class QueryPlanNode extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected QueryPlanData |
data |
protected CompositeMetadata |
md |
| Constructor and Description |
|---|
QueryPlanNode(CompositeMetadata md,
QueryPlanData data)
Creates a query plan node using the given composite metadata, and an
empty query clauses list
|
QueryPlanNode(QueryPlanNode source)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
QueryPlanData |
getData()
Returns the query plan data used by the scorer
|
abstract QueryPlanNode[] |
getDestinations()
Returns the immediate descendants of this node.
|
CompositeMetadata |
getMetadata()
Returns the composite metadata associated with this node
|
abstract String |
getName()
The implementation returns the unique name for this node.
|
<T> T |
getProperty(Class<T> propertyClass)
Returns the property whose property name is the given class name
|
Object |
getProperty(String propertyName)
Returns the property with the given property name
|
abstract QueryPlanNode[] |
getSources()
Returns the immediate ancestors of this node.
|
<T> void |
setProperty(Class<T> propertyClass,
T propertyValue)
Sets the property whose property name is the given class name
|
void |
setProperty(String propertyName,
Object value)
Sets the property with the given property name
|
protected final CompositeMetadata md
protected final QueryPlanData data
public QueryPlanNode(CompositeMetadata md, QueryPlanData data)
public QueryPlanNode(QueryPlanNode source)
public CompositeMetadata getMetadata()
public QueryPlanData getData()
public Object getProperty(String propertyName)
public void setProperty(String propertyName, Object value)
public <T> T getProperty(Class<T> propertyClass)
public <T> void setProperty(Class<T> propertyClass, T propertyValue)
public abstract String getName()
public abstract QueryPlanNode[] getSources()
public abstract QueryPlanNode[] getDestinations()
Copyright © 2016. All rights reserved.