|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryRewriter
An interface for a class that accepts a query plan and can rewrite the contents according to a set of rewriting rules or heuristics, and also rewrite the results to match the form expected by the provider of the original query.
Method Summary | |
---|---|
NodeQuery |
rewrite(NodeQuery query)
Rewrite the given query plan according to a set of rules. |
java.util.List |
rewriteResult(java.util.List result)
Rewrite the result to match the expected result form of the original input query. |
Method Detail |
---|
NodeQuery rewrite(NodeQuery query)
query
- the NodeQuery which is to be rewritten
java.util.List rewriteResult(java.util.List result)
result
- the results of the query
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |