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 void
addTerm(QueryParsers parser, PhraseNear phrase, Phrase term)
PhraseNear
createPhrase(QueryParsers parser, ScopeTerm scope)
PhraseNear
parse(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:
createPhrase
in classPhraseOperator<PhraseNear>
-
parse
public final PhraseNear parse(QueryParsers parser, ScopeTerm scope, StringParser reader) throws java.text.ParseException
- Specified by:
parse
in classPhraseOperator<PhraseNear>
- Throws:
java.text.ParseException
-
addTerm
public final void addTerm(QueryParsers parser, PhraseNear phrase, Phrase term)
- Overrides:
addTerm
in classPhraseOperator<PhraseNear>
-
-