public static class SetWindowFieldsOperation.RangeWindow extends Object
SetWindowFieldsOperation.Window implementation based on the sort fields.| Modifier | Constructor and Description |
|---|---|
protected |
RangeWindow(Object lower,
Object upper,
SetWindowFieldsOperation.WindowUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getLower()
The lower (inclusive) boundary.
|
Object |
getUpper()
The upper (inclusive) boundary.
|
org.bson.Document |
toDocument(AggregationOperationContext ctx)
Obtain the document representation of the window in the given
context. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoDocumentprotected RangeWindow(Object lower, Object upper, SetWindowFieldsOperation.WindowUnit unit)
public org.bson.Document toDocument(AggregationOperationContext ctx)
SetWindowFieldsOperation.Windowcontext.public Object getLower()
SetWindowFieldsOperation.WindowgetLower in interface SetWindowFieldsOperation.Windowpublic Object getUpper()
SetWindowFieldsOperation.WindowgetUpper in interface SetWindowFieldsOperation.WindowCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.