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