Package com.mongodb.client.model
Class UnwindOptions
java.lang.Object
com.mongodb.client.model.UnwindOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options for an unwind aggregation pipeline stage
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the includeArrayIndex field if set or nullincludeArrayIndex
(String arrayIndexFieldName) Deprecated.Sets the field to be used to store the array index of the unwound itemDeprecated.If true the unwind stage will include documents that have null values or empty arrayspreserveNullAndEmptyArrays
(Boolean preserveNullAndEmptyArrays) Deprecated.Sets true if the unwind stage should include documents that have null values or empty arraystoString()
Deprecated.
-
Constructor Details
-
UnwindOptions
public UnwindOptions()Deprecated.
-
-
Method Details
-
isPreserveNullAndEmptyArrays
Deprecated.If true the unwind stage will include documents that have null values or empty arrays- Returns:
- the preserve null values and empty arrays value or null
-
preserveNullAndEmptyArrays
Deprecated.Sets true if the unwind stage should include documents that have null values or empty arrays- Parameters:
preserveNullAndEmptyArrays
- flag depicting if the unwind stage should include documents that have null values or empty arrays- Returns:
- this
-
getIncludeArrayIndex
Deprecated.Gets the includeArrayIndex field if set or null- Returns:
- the includeArrayIndex field if set or null
-
includeArrayIndex
Deprecated.Sets the field to be used to store the array index of the unwound item- Parameters:
arrayIndexFieldName
- the field to be used to store the array index of the unwound item- Returns:
- this
-
toString
Deprecated.
-