|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode org.apache.jackrabbit.spi.commons.query.qom.QueryObjectModelTree
public class QueryObjectModelTree
QueryObjectModelTree
implements the root node of an object
query model tree.
Field Summary |
---|
Fields inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode |
---|
resolver |
Constructor Summary | |
---|---|
QueryObjectModelTree(NamePathResolver resolver,
SourceImpl source,
ConstraintImpl constraint,
OrderingImpl[] orderings,
ColumnImpl[] columns)
|
Method Summary | |
---|---|
Object |
accept(QOMTreeVisitor visitor,
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. |
Methods inherited from class org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode |
---|
getJCRName, getJCRPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryObjectModelTree(NamePathResolver resolver, SourceImpl source, ConstraintImpl constraint, OrderingImpl[] orderings, ColumnImpl[] columns) throws InvalidQueryException
InvalidQueryException
Method Detail |
---|
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 Object accept(QOMTreeVisitor visitor, Object data) throws 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.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |