Package com.attivio.util.parser
Class QueryOperators.PhraseNearParser
- java.lang.Object
-
- com.attivio.util.parser.Operator<T>
-
- com.attivio.util.parser.PhraseOperator<PhraseNear>
-
- com.attivio.util.parser.QueryOperators.PhraseNearParser
-
- Direct Known Subclasses:
QueryOperators.NearOperator,QueryOperators.ONearOperator,QueryOperators.RequireAllOperator
- Enclosing class:
- QueryOperators
public static class QueryOperators.PhraseNearParser extends PhraseOperator<PhraseNear>
-
-
Constructor Summary
Constructors Constructor Description PhraseNearParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTerm(QueryParsers parser, PhraseNear phrase, Phrase term)PhraseNearcreatePhrase(QueryParsers parser, ScopeTerm scope)PhraseNearparse(QueryParsers parser, ScopeTerm scope, StringParser reader)-
Methods inherited from class com.attivio.util.parser.PhraseOperator
addAttribute, addParameter, parseArguments
-
Methods inherited from class com.attivio.util.parser.Operator
parseInt, parseParameter, parseParameter
-
-
-
-
Method Detail
-
createPhrase
public PhraseNear createPhrase(QueryParsers parser, ScopeTerm scope)
- Overrides:
createPhrasein classPhraseOperator<PhraseNear>
-
parse
public final PhraseNear parse(QueryParsers parser, ScopeTerm scope, StringParser reader) throws java.text.ParseException
- Specified by:
parsein classPhraseOperator<PhraseNear>- Throws:
java.text.ParseException
-
addTerm
public final void addTerm(QueryParsers parser, PhraseNear phrase, Phrase term)
- Overrides:
addTermin classPhraseOperator<PhraseNear>
-
-