Package com.mongodb.client.model
Class UnwindOptions
- java.lang.Object
-
- com.mongodb.client.model.UnwindOptions
-
@Deprecated(since="2021-05-27") public final class UnwindOptions extends java.lang.ObjectDeprecated.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 Constructor Description UnwindOptions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetIncludeArrayIndex()Deprecated.Gets the includeArrayIndex field if set or nullUnwindOptionsincludeArrayIndex(java.lang.String arrayIndexFieldName)Deprecated.Sets the field to be used to store the array index of the unwound itemjava.lang.BooleanisPreserveNullAndEmptyArrays()Deprecated.If true the unwind stage will include documents that have null values or empty arraysUnwindOptionspreserveNullAndEmptyArrays(java.lang.Boolean preserveNullAndEmptyArrays)Deprecated.Sets true if the unwind stage should include documents that have null values or empty arraysjava.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
isPreserveNullAndEmptyArrays
@Nullable public java.lang.Boolean 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
public UnwindOptions preserveNullAndEmptyArrays(@Nullable java.lang.Boolean 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
@Nullable public java.lang.String getIncludeArrayIndex()
Deprecated.Gets the includeArrayIndex field if set or null- Returns:
- the includeArrayIndex field if set or null
-
includeArrayIndex
public UnwindOptions includeArrayIndex(@Nullable java.lang.String arrayIndexFieldName)
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
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-