public class QueryObjectModelTree extends AbstractQOMNode
QueryObjectModelTree
implements the root node of an object
query model tree.Constructor and Description |
---|
QueryObjectModelTree(NamePathResolver resolver,
SourceImpl source,
ConstraintImpl constraint,
OrderingImpl[] orderings,
ColumnImpl[] columns) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(QOMTreeVisitor visitor,
java.lang.Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
ColumnImpl[] |
getColumns()
Gets the columns for this query.
|
ConstraintImpl |
getConstraint()
Gets the constraint for this query.
|
OrderingImpl[] |
getOrderings()
Gets the orderings for this query.
|
SelectorImpl |
getSelector(Name name)
Returns the selector with the given
name or
null if there is no selector with this name. |
SourceImpl |
getSource()
Gets the node-tuple source for this query.
|
java.lang.String |
toString() |
public QueryObjectModelTree(NamePathResolver resolver, SourceImpl source, ConstraintImpl constraint, OrderingImpl[] orderings, ColumnImpl[] columns) throws InvalidQueryException
InvalidQueryException
public SourceImpl getSource()
public ConstraintImpl getConstraint()
public OrderingImpl[] getOrderings()
public ColumnImpl[] getColumns()
public SelectorImpl getSelector(Name name)
name
or
null
if there is no selector with this name.name
- the name of a selector.null
if there is no such selector.public java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.Exception
visitor
and calls the appropriate visit method
depending on the type of this QOM node.accept
in class AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"