|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryTransformer
Query query can be applied to queries before sending them away to indices or other sources for further processing.
| Nested Class Summary | |
|---|---|
static interface |
QueryTransformer.Context
The context any QueryTransformer must work through. |
| Method Summary | |
|---|---|
String |
getFilter()
Set filter for this query. |
String |
getFilter(Map parameters)
Deprecated. all functionality should be provided by getFilter() with any access to parameters via the datamodel |
String |
getTransformedQuery()
Deprecated. use the visitor pattern instead via visit(Object) |
void |
setContext(QueryTransformer.Context cxt)
Provide the context. |
| Methods inherited from interface no.sesat.commons.visitor.Visitor |
|---|
visit |
| Method Detail |
|---|
void setContext(QueryTransformer.Context cxt)
cxt - String getTransformedQuery()
String getFilter(Map parameters)
parameters - the datamodel's parameters
String getFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||