|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface QueryParser.Context
The Context an QueryParser implementation needs to work off. The QueryParser's context is responsible for: - holding the user's orginal inputted query string, - holding the tokenEvalautorFactory responsible for tokenPredicate to evaluator mappings, - creation of Clause subtypes (using the flyweight pattern).
| Method Summary | |
|---|---|
AndClause |
createAndClause(Clause first,
Clause second)
Creator wrapper method for AndClause objects. |
AndNotClause |
createAndNotClause(Clause first)
Creator wrapper method for AndNotClause objects. |
DefaultOperatorClause |
createDefaultOperatorClause(Clause first,
Clause second)
Creator wrapper method for DefaultOperatorClause objects. |
EmailClause |
createEmailClause(String term,
String field)
Creator wrapper method for EmailClause objects. |
IntegerClause |
createIntegerClause(String term,
String field)
Creator wrapper method for IntegerClause objects. |
NotClause |
createNotClause(Clause first)
Creator wrapper method for NotClause objects. |
NumberGroupClause |
createNumberGroupClause(String term,
String field)
Creator wrapper method for NumberGroupClause objects. |
OrClause |
createOrClause(Clause first,
Clause second)
Creator wrapper method for OrClause objects. |
PhoneNumberClause |
createPhoneNumberClause(String term,
String field)
Creator wrapper method for PhoneNumberClause objects. |
PhraseClause |
createPhraseClause(String term,
String field)
Creator wrapper method for PhraseClause objects. |
UrlClause |
createUrlClause(String term,
String field)
Creator wrapper method for UrlClause objects. |
WordClause |
createWordClause(String term,
String field)
Creator wrapper method for WordClause objects. |
XorClause |
createXorClause(Clause first,
Clause second,
XorClause.Hint hint)
Creator wrapper method for XorClause objects. |
| Methods inherited from interface no.sesat.search.query.QueryStringContext |
|---|
getQueryString |
| Methods inherited from interface no.sesat.search.query.token.TokenEvaluationEngineContext |
|---|
getTokenEvaluationEngine |
| Method Detail |
|---|
DefaultOperatorClause createDefaultOperatorClause(Clause first,
Clause second)
first - the left child clause of the operation clause we are about to create (or find).second - the right child clause of the operation clause we are about to create (or find).
AndClause createAndClause(Clause first,
Clause second)
first - the left child clause of the operation clause we are about to create (or find).second - the right child clause of the operation clause we are about to create (or find).
OrClause createOrClause(Clause first,
Clause second)
first - the left child clause of the operation clause we are about to create (or find).second - the right child clause of the operation clause we are about to create (or find).
XorClause createXorClause(Clause first,
Clause second,
XorClause.Hint hint)
first - the left child clause of the operation clause we are about to create (or find).second - the right child clause of the operation clause we are about to create (or find).
AndNotClause createAndNotClause(Clause first)
first - the left child clause of the operation clause we are about to create (or find).
NotClause createNotClause(Clause first)
first - the left child clause of the operation clause we are about to create (or find).
WordClause createWordClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
PhraseClause createPhraseClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
IntegerClause createIntegerClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
PhoneNumberClause createPhoneNumberClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
NumberGroupClause createNumberGroupClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
UrlClause createUrlClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
EmailClause createEmailClause(String term,
String field)
term - the term this clause represents.field - any field this clause was specified against.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||