Class DeleteParserSingle
- java.lang.Object
-
- fr.gouv.vitam.common.database.parser.request.AbstractParser<RequestSingle>
-
- fr.gouv.vitam.common.database.parser.request.single.RequestParserSingle
-
- fr.gouv.vitam.common.database.parser.request.single.DeleteParserSingle
-
public class DeleteParserSingle extends RequestParserSingle
Delete Parser: { $query : query, $filter : multi }
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.database.parser.request.AbstractParser
adapter, hasFullTextCurrentQuery, hasFullTextQuery, request, rootNode, sourceRequest
-
-
Constructor Summary
Constructors Constructor Description DeleteParserSingle(VarNameAdapter adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RequestSingle
getNewRequest()
Delete
getRequest()
void
parse(com.fasterxml.jackson.databind.JsonNode request)
java.lang.String
toString()
-
Methods inherited from class fr.gouv.vitam.common.database.parser.request.single.RequestParserSingle
addCondition, analyzeRootQuery, filterParse, getLastDepth, hintCache, hintNoTimeout, model, parseJson, parseQueryOnly, queryParse
-
Methods inherited from class fr.gouv.vitam.common.database.parser.request.AbstractParser
analyzeOneCommand, getAdapter, getRootNode, getSource, hasFullTextQuery, parseOrderByFilter
-
-
-
-
Constructor Detail
-
DeleteParserSingle
public DeleteParserSingle(VarNameAdapter adapter)
- Parameters:
adapter
- VarNameAdapter
-
-
Method Detail
-
getNewRequest
protected RequestSingle getNewRequest()
- Specified by:
getNewRequest
in classAbstractParser<RequestSingle>
- Returns:
- a new Request
-
parse
public void parse(com.fasterxml.jackson.databind.JsonNode request) throws InvalidParseOperationException
- Specified by:
parse
in classAbstractParser<RequestSingle>
- Parameters:
request
- containing a parsed JSON as { $query : query, $filter : multi }- Throws:
InvalidParseOperationException
- if request could not parse to JSON
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRequestParserSingle
-
getRequest
public Delete getRequest()
- Overrides:
getRequest
in classAbstractParser<RequestSingle>
- Returns:
- the Request
-
-