Interface DensifyOperation.Range
- All Known Implementing Classes:
DensifyOperation.BoundedRange
,DensifyOperation.DensifyRange
- Enclosing class:
- DensifyOperation
public static interface DensifyOperation.Range
The
DensifyOperation.Range
specifies how the data is densified.-
Method Summary
Modifier and TypeMethodDescriptionAdd documents spanning the range of values within the given lower (inclusive) and upper (exclusive) bound.full()
Add documents spanning the full value range.Add documents spanning the full value range for each partition.default org.bson.Document
Obtain the document representation of the window in a defaultcontext
.org.bson.Document
Obtain the document representation of the window in the givencontext
.
-
Method Details
-
bounded
Add documents spanning the range of values within the given lower (inclusive) and upper (exclusive) bound.- Parameters:
lower
- must not be null.upper
- must not be null.- Returns:
- new instance of
DensifyOperation.DensifyRange
.
-
full
Add documents spanning the full value range.- Returns:
- new instance of
DensifyOperation.DensifyRange
.
-
partition
Add documents spanning the full value range for each partition.- Returns:
- new instance of
DensifyOperation.DensifyRange
.
-
toDocument
default org.bson.Document toDocument()Obtain the document representation of the window in a defaultcontext
.- Returns:
- never null.
-
toDocument
Obtain the document representation of the window in the givencontext
.- Returns:
- never null.
-