Class BooleanQuery
java.lang.Object
fr.gouv.vitam.common.database.builder.query.Query
fr.gouv.vitam.common.database.builder.query.BooleanQuery
- Direct Known Subclasses:
BooleanQuery
Boolean 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
ModifierConstructorDescriptionprotected
BooleanQuery
(BuilderToken.QUERY booleanQuery) BooleanQuery constructor -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanQuery
Add sub queries to Boolean 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
-
queries
-
-
Constructor Details
-
BooleanQuery
protected BooleanQuery() -
BooleanQuery
BooleanQuery constructor- Parameters:
booleanQuery
- and or not- Throws:
InvalidCreateOperationException
- when not a boolean query or error
-
-
Method Details
-
clean
public void clean()Description copied from class:Query
Clean the object -
add
Add sub queries to Boolean Query- Parameters:
queries
- list of query- Returns:
- the BooleanQuery
- Throws:
InvalidCreateOperationException
- when not ready or error
-
getQueries
- Returns:
- the list of Queries under this Boolean Query
-