Class MatchQuery
- java.lang.Object
-
- fr.gouv.vitam.common.database.builder.query.Query
-
- fr.gouv.vitam.common.database.builder.query.MatchQuery
-
- Direct Known Subclasses:
MatchQuery
public class MatchQuery extends Query
Match Query
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.database.builder.query.Query
currentObject, currentQuery, currentTokenQUERY, DATE, exactdepth, extraInfo, isFullText, ready, relativedepth
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MatchQuery()
MatchQuery(BuilderToken.QUERY matchQuery, java.lang.String variableName, java.lang.String value)
Match Query constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchQuery
setMatchMaxExpansions(int max)
-
Methods inherited from class fr.gouv.vitam.common.database.builder.query.Query
clean, cleanDepth, createQueryArray, createQueryVariable, createQueryVariableValue, createQueryVariableValue, createQueryVariableValue, createQueryVariableValue, createQueryVariableValue, createQueryVariableValue, getCurrentObject, getCurrentQuery, getExtraInfo, getNode, getParserExactdepth, getParserRelativeDepth, getQUERY, isFullText, isReady, setDepthLimit, setExactDepthLimit, setExtraInfo, setFullText, setParserExactdepth, setParserRelativeDepth, setReady, setRelativeDepthLimit, toString
-
-
-
-
Constructor Detail
-
MatchQuery
protected MatchQuery()
-
MatchQuery
public MatchQuery(BuilderToken.QUERY matchQuery, java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Match Query constructor- Parameters:
matchQuery
- match, match_phrase, match_phrase_prefixvariableName
- variable namevalue
- of variable- Throws:
InvalidCreateOperationException
- when not valid
-
-
Method Detail
-
setMatchMaxExpansions
public final MatchQuery setMatchMaxExpansions(int max) throws InvalidCreateOperationException
- Parameters:
max
- max expansions for Match type request only (not regex, search)- Returns:
- this MatchQuery
- Throws:
InvalidCreateOperationException
- when not valid
-
-