|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.sesat.search.query.parser.AbstractQueryParserContext
public abstract class AbstractQueryParserContext
Default implementation of QueryParser.Context's createXxxClause methods.
| Constructor Summary | |
|---|---|
AbstractQueryParserContext()
Creates a new instance of AbstractQueryParserContext. |
|
| 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. |
String |
getQueryString()
Get the original query string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface no.sesat.search.query.token.TokenEvaluationEngineContext |
|---|
getTokenEvaluationEngine |
| Constructor Detail |
|---|
public AbstractQueryParserContext()
| Method Detail |
|---|
public final String getQueryString()
getQueryString in interface QueryStringContext
public DefaultOperatorClause createDefaultOperatorClause(Clause first,
Clause second)
createDefaultOperatorClause in interface QueryParser.Contextfirst - 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).
public final AndClause createAndClause(Clause first,
Clause second)
createAndClause in interface QueryParser.Contextfirst - 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).
public final OrClause createOrClause(Clause first,
Clause second)
createOrClause in interface QueryParser.Contextfirst - 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).
public final XorClause createXorClause(Clause first,
Clause second,
XorClause.Hint hint)
createXorClause in interface QueryParser.Contextfirst - 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).
public final AndNotClause createAndNotClause(Clause first)
createAndNotClause in interface QueryParser.Contextfirst - the left child clause of the operation clause we are about to create (or find).
public final NotClause createNotClause(Clause first)
createNotClause in interface QueryParser.Contextfirst - the left child clause of the operation clause we are about to create (or find).
public final WordClause createWordClause(String term,
String field)
createWordClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final PhraseClause createPhraseClause(String term,
String field)
createPhraseClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final IntegerClause createIntegerClause(String term,
String field)
createIntegerClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final PhoneNumberClause createPhoneNumberClause(String term,
String field)
createPhoneNumberClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final NumberGroupClause createNumberGroupClause(String term,
String field)
createNumberGroupClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final UrlClause createUrlClause(String term,
String field)
createUrlClause in interface QueryParser.Contextterm - the term this clause represents.field - any field this clause was specified against.
public final EmailClause createEmailClause(String term,
String field)
createEmailClause in interface QueryParser.Contextterm - 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 | |||||||||