Class Delete
java.lang.Object
fr.gouv.vitam.common.database.builder.request.AbstractRequest
fr.gouv.vitam.common.database.builder.request.single.RequestSingle
fr.gouv.vitam.common.database.builder.request.single.Delete
Delete: { $query : query, $filter : multi } or [ query, multi ]
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.database.builder.request.single.RequestSingle
query
Fields inherited from class fr.gouv.vitam.common.database.builder.request.AbstractRequest
filter, projection
-
Constructor Summary
-
Method Summary
Methods inherited from class fr.gouv.vitam.common.database.builder.request.single.RequestSingle
getActions, getAllProjection, getData, getDatas, getFinal, getNbQueries, getProjection, getQueries, getQuery, getRoots, reset, resetQuery, setQuery
Methods inherited from class fr.gouv.vitam.common.database.builder.request.AbstractRequest
addHintFilter, addHintFilter, getFilter, parseFilter, resetFilter, resetHintFilter, selectAddOrderByAscFilter, selectAddOrderByDescFilter, selectAddOrderByFilter, selectAddProjection, selectAddUnusedProjection, selectAddUsedProjection, selectGetAllProjection, selectGetFinalSelect, selectGetProjection, selectParseLimitFilter, selectParseOrderByFilter, selectParseProjection, selectReset, selectResetLimitFilter, selectResetOrderByFilter, selectResetUsedProjection, selectSetFilter, selectSetLimitFilter, selectSetLimitFilter, selectSetProjection, selectSetScrollFilter
-
Constructor Details
-
Delete
public Delete()
-
-
Method Details
-
setMult
- Parameters:
mult
- True to act on multiple elements, False to act only on 1 element- Returns:
- this Delete
-
setMult
- Parameters:
filterContent
- json filter- Returns:
- this Delete
-
setFilter
public final Delete setFilter(com.fasterxml.jackson.databind.JsonNode filterContent) throws InvalidParseOperationException - Overrides:
setFilter
in classAbstractRequest
- Parameters:
filterContent
- json filter- Returns:
- this Delete
- Throws:
InvalidParseOperationException
- if filter invalid
-
getFinalDelete
public final com.fasterxml.jackson.databind.node.ObjectNode getFinalDelete()- Returns:
- the Final Delete containing all 2 parts: queries array and filter
-
toString
- Overrides:
toString
in classRequestSingle
-