| Constructor and Description | 
|---|
| UnwindOptions() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getIncludeArrayIndex()Gets the includeArrayIndex field if set or null | 
| UnwindOptions | includeArrayIndex(String arrayIndexFieldName)Sets the field to be used to store the array index of the unwound item | 
| Boolean | isPreserveNullAndEmptyArrays()If true the unwind stage will include documents that have null values or empty arrays | 
| UnwindOptions | preserveNullAndEmptyArrays(Boolean preserveNullAndEmptyArrays)Sets true if the unwind stage should include documents that have null values or empty arrays | 
public Boolean isPreserveNullAndEmptyArrays()
public UnwindOptions preserveNullAndEmptyArrays(Boolean preserveNullAndEmptyArrays)
preserveNullAndEmptyArrays - flag depicting if the unwind stage should include documents that have null values or empty arrayspublic String getIncludeArrayIndex()
public UnwindOptions includeArrayIndex(String arrayIndexFieldName)
arrayIndexFieldName - the field to be used to store the array index of the unwound item