Class QueryDepthHelper
java.lang.Object
fr.gouv.vitam.common.database.builder.query.Query
fr.gouv.vitam.common.database.parser.query.helper.QueryDepthHelper
Helper for Parsing and Execution
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.database.builder.query.Query
currentObject, currentQuery, currentTokenQUERY, DATE, exactdepth, extraInfo, isFullText, ready, relativedepth
-
Method Summary
Modifier and TypeMethodDescriptionint
getExactDepth
(Query query) For Execute operationint
getRelativeDepth
(Query query) For Execute operationvoid
For Parsing operationMethods 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
-
Field Details
-
HELPER
Helper for Parsing and Execution
-
-
Method Details
-
setDepths
For Parsing operation- Parameters:
query
- QueryexactDepth
- int depth exactrelativeDepth
- int depth relative
-
getExactDepth
For Execute operation- Parameters:
query
- Query- Returns:
- the exact depth
-
getRelativeDepth
For Execute operation- Parameters:
query
- Query- Returns:
- the relative depth
-