Uses of Class
org.springframework.data.mongodb.core.aggregation.UnwindOperation
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of UnwindOperation in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionUnwindOperation.EmptyArraysBuilder.preserveNullAndEmptyArrays()
Output documents if the array is null or empty.UnwindOperation.UnwindOperationBuilder.preserveNullAndEmptyArrays()
UnwindOperation.EmptyArraysBuilder.skipNullAndEmptyArrays()
Do not output documents if the array is null or empty.UnwindOperation.UnwindOperationBuilder.skipNullAndEmptyArrays()
static UnwindOperation
Factory method to create a newUnwindOperation
for the field with the given name.static UnwindOperation
Factory method to create a newUnwindOperation
for the field with the given name andpreserveNullAndEmptyArrays
.static UnwindOperation
Factory method to create a newUnwindOperation
for the field with the given name including the name of a new field to hold the array index of the element asarrayIndex
.static UnwindOperation
Factory method to create a newUnwindOperation
for the field with the given nameincluding the name of a new field to hold the array index of the element asarrayIndex
usingpreserveNullAndEmptyArrays
.