Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
UnwindOperation |
UnwindOperation.EmptyArraysBuilder.preserveNullAndEmptyArrays()
Output documents if the array is null or empty.
|
UnwindOperation |
UnwindOperation.UnwindOperationBuilder.preserveNullAndEmptyArrays() |
UnwindOperation |
UnwindOperation.EmptyArraysBuilder.skipNullAndEmptyArrays()
Do not output documents if the array is null or empty.
|
UnwindOperation |
UnwindOperation.UnwindOperationBuilder.skipNullAndEmptyArrays() |
static UnwindOperation |
Aggregation.unwind(String field)
Factory method to create a new
UnwindOperation for the field with the given name. |
static UnwindOperation |
Aggregation.unwind(String field,
boolean preserveNullAndEmptyArrays)
Factory method to create a new
UnwindOperation for the field with the given name and
preserveNullAndEmptyArrays . |
static UnwindOperation |
Aggregation.unwind(String field,
String arrayIndex)
Factory method to create a new
UnwindOperation for the field with the given name including the name of a
new field to hold the array index of the element as arrayIndex . |
static UnwindOperation |
Aggregation.unwind(String field,
String arrayIndex,
boolean preserveNullAndEmptyArrays)
Factory method to create a new
UnwindOperation for the field with the given nameincluding the name of a new
field to hold the array index of the element as arrayIndex using preserveNullAndEmptyArrays . |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.