Class InQuery
- java.lang.Object
-
- fr.gouv.vitam.common.database.builder.query.Query
-
- fr.gouv.vitam.common.database.builder.query.InQuery
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.Boolean>
booleanVals
protected java.util.Set<java.lang.Double>
doubleVals
protected java.util.Set<java.lang.Long>
longVals
protected java.util.Set<java.lang.String>
stringVals
-
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
InQuery()
InQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, boolean value)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, boolean... values)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, double value)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, double... values)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, long value)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, long... values)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, java.lang.String value)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, java.lang.String... values)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, java.util.Date value)
In Query constructorInQuery(BuilderToken.QUERY inQuery, java.lang.String variableName, java.util.Date... values)
In Query constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InQuery
add(boolean... inValue)
Add an In Value to an existing In QueryInQuery
add(double... inValue)
Add an In Value to an existing In QueryInQuery
add(long... inValue)
Add an In Value to an existing In QueryInQuery
add(java.lang.String... inValue)
Add an In Value to an existing In QueryInQuery
add(java.util.Date... inValue)
Add an In Value to an existing In Queryvoid
clean()
Clean the object-
Methods 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
-
-
-
-
Constructor Detail
-
InQuery
protected InQuery()
-
InQuery
public InQuery(BuilderToken.QUERY inQuery, java.lang.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, java.lang.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, java.lang.String variableName, java.lang.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, java.lang.String variableName, java.util.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, java.lang.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, java.lang.String variableName, java.lang.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, java.lang.String variableName, java.util.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, java.lang.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, java.lang.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, java.lang.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 Detail
-
clean
public void clean()
Description copied from class:Query
Clean the object
-
add
public final InQuery add(java.lang.String... inValue) throws InvalidCreateOperationException
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
public final InQuery add(java.util.Date... inValue) throws InvalidCreateOperationException
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
public final InQuery add(long... inValue) throws InvalidCreateOperationException
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
public final InQuery add(double... inValue) throws InvalidCreateOperationException
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
public final InQuery add(boolean... inValue) throws InvalidCreateOperationException
Add an In Value to an existing In Query- Parameters:
inValue
- value of variable- Returns:
- the InQuery
- Throws:
InvalidCreateOperationException
- when can not add value
-
-