Class InQuery
java.lang.Object
fr.gouv.vitam.common.database.builder.query.Query
fr.gouv.vitam.common.database.builder.query.InQuery
- Direct Known Subclasses:
InQuery
In and Nin queries
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class fr.gouv.vitam.common.database.builder.query.Query
currentObject, currentQuery, currentTokenQUERY, DATE, exactdepth, extraInfo, isFullText, ready, relativedepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
InQuery()
InQuery
(BuilderToken.QUERY inQuery, String variableName, boolean value) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, boolean... values) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, double value) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, double... values) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, long value) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, long... values) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, String value) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, String... values) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, Date value) In Query constructorInQuery
(BuilderToken.QUERY inQuery, String variableName, Date... values) In Query constructor -
Method Summary
Modifier and TypeMethodDescriptionfinal InQuery
add
(boolean... inValue) Add an In Value to an existing In Queryfinal InQuery
add
(double... inValue) Add an In Value to an existing In Queryfinal InQuery
add
(long... inValue) Add an In Value to an existing In Queryfinal InQuery
Add an In Value to an existing In Queryfinal InQuery
Add an In Value to an existing In Queryvoid
clean()
Clean the objectMethods inherited from class fr.gouv.vitam.common.database.builder.query.Query
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
-
Field Details
-
booleanVals
-
longVals
-
doubleVals
-
stringVals
-
-
Constructor Details
-
InQuery
protected InQuery() -
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, long value) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalue
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, double value) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalue
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, String value) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalue
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, Date value) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalue
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, boolean value) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalue
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, String... values) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalues
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, Date... values) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalues
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, long... values) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalues
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, double... values) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalues
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, String variableName, boolean... values) throws InvalidCreateOperationException In Query constructor- Parameters:
inQuery
- in, ninvariableName
- variable Namevalues
- of variable- Throws:
InvalidCreateOperationException
- when can not create Query
-
-
Method Details
-
clean
public void clean()Description copied from class:Query
Clean the object -
add
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-
add
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-
add
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-
add
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-
add
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-