Class TermQuery
- java.lang.Object
-
- fr.gouv.vitam.common.database.builder.query.Query
-
- fr.gouv.vitam.common.database.builder.query.TermQuery
-
-
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
TermQuery()
TermQuery(java.lang.String variableName, boolean value)
Term Query constructorTermQuery(java.lang.String variableName, double value)
Term Query constructorTermQuery(java.lang.String variableName, long value)
Term Query constructorTermQuery(java.lang.String variableName, java.lang.String value)
Term Query constructorTermQuery(java.lang.String variableName, java.util.Date value)
Term Query constructorTermQuery(java.util.Map<java.lang.String,java.lang.Object> variableNameValue)
Term Query constructor from Map
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TermQuery
add(java.lang.String variableName, boolean value)
Add other Term sub queries to Term QueryTermQuery
add(java.lang.String variableName, double value)
Add other Term sub queries to Term QueryTermQuery
add(java.lang.String variableName, long value)
Add other Term sub queries to Term QueryTermQuery
add(java.lang.String variableName, java.lang.String value)
Add other Term sub queries to Term QueryTermQuery
add(java.lang.String variableName, java.util.Date value)
Add other Term sub queries to Term Query-
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
-
TermQuery
protected TermQuery()
-
TermQuery
public TermQuery(java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Term Query constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
TermQuery
public TermQuery(java.lang.String variableName, long value) throws InvalidCreateOperationException
Term Query constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
TermQuery
public TermQuery(java.lang.String variableName, double value) throws InvalidCreateOperationException
Term Query constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
TermQuery
public TermQuery(java.lang.String variableName, boolean value) throws InvalidCreateOperationException
Term Query constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
TermQuery
public TermQuery(java.lang.String variableName, java.util.Date value) throws InvalidCreateOperationException
Term Query constructor- Parameters:
variableName
- key namevalue
- key value- Throws:
InvalidCreateOperationException
- when query is invalid
-
TermQuery
public TermQuery(java.util.Map<java.lang.String,java.lang.Object> variableNameValue) throws InvalidCreateOperationException
Term Query constructor from Map- Parameters:
variableNameValue
- map of name and value- Throws:
InvalidCreateOperationException
- when query is invalid
-
-
Method Detail
-
add
public final TermQuery add(java.lang.String variableName, java.lang.String value) throws InvalidCreateOperationException
Add other Term sub queries to Term Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the TermQuery
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final TermQuery add(java.lang.String variableName, long value) throws InvalidCreateOperationException
Add other Term sub queries to Term Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the TermQuery
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final TermQuery add(java.lang.String variableName, double value) throws InvalidCreateOperationException
Add other Term sub queries to Term Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the TermQuery
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final TermQuery add(java.lang.String variableName, boolean value) throws InvalidCreateOperationException
Add other Term sub queries to Term Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the TermQuery
- Throws:
InvalidCreateOperationException
- when query is invalid
-
add
public final TermQuery add(java.lang.String variableName, java.util.Date value) throws InvalidCreateOperationException
Add other Term sub queries to Term Query- Parameters:
variableName
- key namevalue
- key value- Returns:
- the TermQuery
- Throws:
InvalidCreateOperationException
- when query is invalid
-
-