|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryNodeProcessor
A QueryNodeProcessor
is an interface for classes that process a
QueryNode
tree.
The implementor of this class should perform some operation on a query node tree and return the same or another query node tree.
It also may carry a
QueryConfigHandler
object that contains
configuration about the query represented by the query tree or the
collection/index where it's intended to be executed.
In case there is any
QueryConfigHandler
associated to the query tree
to be processed, it should be set using
setQueryConfigHandler(QueryConfigHandler)
before
process(QueryNode)
is invoked.
QueryNode
,
QueryNodeProcessor
,
QueryConfigHandler
Method Summary | |
---|---|
QueryConfigHandler |
getQueryConfigHandler()
Returns the QueryConfigHandler associated to the query tree if any,
otherwise it returns null |
QueryNode |
process(QueryNode queryTree)
Processes a query node tree. |
void |
setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
Sets the QueryConfigHandler associated to the query tree. |
Method Detail |
---|
QueryNode process(QueryNode queryTree) throws QueryNodeException
null
.
queryTree
- tree root node
QueryNodeException
void setQueryConfigHandler(QueryConfigHandler queryConfigHandler)
QueryConfigHandler
associated to the query tree.
queryConfigHandler
- QueryConfigHandler getQueryConfigHandler()
QueryConfigHandler
associated to the query tree if any,
otherwise it returns null
QueryConfigHandler
associated to the query tree if any,
otherwise it returns null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |