Class DeleteParserMultiple
java.lang.Object
fr.gouv.vitam.common.database.parser.request.AbstractParser<RequestMultiple>
fr.gouv.vitam.common.database.parser.request.multiple.RequestParserMultiple
fr.gouv.vitam.common.database.parser.request.multiple.DeleteParserMultiple
Delete Parser: { $roots: roots, $query : query, $filter : multi }
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.database.parser.request.multiple.RequestParserMultiple
lastDepth
Fields inherited from class fr.gouv.vitam.common.database.parser.request.AbstractParser
adapter, hasFullTextCurrentQuery, hasFullTextQuery, request, rootNode, sourceRequest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RequestMultiple
void
parse
(com.fasterxml.jackson.databind.JsonNode request) toString()
Methods inherited from class fr.gouv.vitam.common.database.parser.request.multiple.RequestParserMultiple
analyzeRootQuery, filterParse, getFinalScrollId, getFinalScrollTimeout, getLastDepth, hintCache, hintNoTimeout, model, parseJson, parseQueryOnly, queryParse, rootParse, trackTotalHits
Methods inherited from class fr.gouv.vitam.common.database.parser.request.AbstractParser
analyzeOneCommand, getAdapter, getRootNode, getSource, hasFullTextQuery, parseOrderByFilter
-
Constructor Details
-
DeleteParserMultiple
public DeleteParserMultiple() -
DeleteParserMultiple
- Parameters:
adapter
- VarNameAdapter
-
-
Method Details
-
getNewRequest
- Specified by:
getNewRequest
in classAbstractParser<RequestMultiple>
- Returns:
- a new Request
-
parse
public void parse(com.fasterxml.jackson.databind.JsonNode request) throws InvalidParseOperationException - Specified by:
parse
in classAbstractParser<RequestMultiple>
- Parameters:
request
- containing a parsed JSON as { $roots: roots, $query : query, $filter : multi }- Throws:
InvalidParseOperationException
- if request could not parse to JSON
-
toString
- Overrides:
toString
in classRequestParserMultiple
-
getRequest
- Overrides:
getRequest
in classRequestParserMultiple
- Returns:
- the Request
-