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
-
public class Delete extends RequestSingle
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
Constructors Constructor Description Delete()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
getFinalDelete()
Delete
setFilter(com.fasterxml.jackson.databind.JsonNode filterContent)
Delete
setMult(boolean mult)
Delete
setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
java.lang.String
toString()
-
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
-
-
-
-
Method Detail
-
setMult
public final Delete setMult(boolean mult)
- Parameters:
mult
- True to act on multiple elements, False to act only on 1 element- Returns:
- this Delete
-
setMult
public final Delete setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
- 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
public java.lang.String toString()
- Overrides:
toString
in classRequestSingle
-
-