Class DeleteMultiQuery
- java.lang.Object
-
- fr.gouv.vitam.common.database.builder.request.AbstractRequest
-
- fr.gouv.vitam.common.database.builder.request.multiple.RequestMultiple
-
- fr.gouv.vitam.common.database.builder.request.multiple.DeleteMultiQuery
-
public class DeleteMultiQuery extends RequestMultiple
Delete: { $roots: roots, $query : query, $filter : multi } or [ roots, query, multi ]
-
-
Field Summary
-
Fields inherited from class fr.gouv.vitam.common.database.builder.request.multiple.RequestMultiple
facets, queries, roots, threshold
-
Fields inherited from class fr.gouv.vitam.common.database.builder.request.AbstractRequest
filter, projection
-
-
Constructor Summary
Constructors Constructor Description DeleteMultiQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.node.ObjectNode
getFinalDelete()
DeleteMultiQuery
setFilter(com.fasterxml.jackson.databind.JsonNode filterContent)
DeleteMultiQuery
setMult(boolean mult)
DeleteMultiQuery
setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
java.lang.String
toString()
-
Methods inherited from class fr.gouv.vitam.common.database.builder.request.multiple.RequestMultiple
addQueries, addRoots, addRoots, getActions, getAllProjection, getData, getFacets, getFinal, getNbQueries, getNthQuery, getProjection, getQueries, getRoots, getThreshold, parseRoots, reset, resetQueries, resetRoots, setFacets, setQuery, setThreshold
-
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 DeleteMultiQuery setMult(boolean mult)
- Parameters:
mult
- True to act on multiple elements, False to act only on 1 element- Returns:
- this Delete
-
setMult
public final DeleteMultiQuery setMult(com.fasterxml.jackson.databind.JsonNode filterContent)
- Parameters:
filterContent
- json filter- Returns:
- this Delete
-
setFilter
public final DeleteMultiQuery 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 3 parts: roots, queries array and filter
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRequestMultiple
-
-