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, wait
toDocument
protected RangeWindow(Object lower, Object upper, SetWindowFieldsOperation.WindowUnit unit)
public org.bson.Document toDocument(AggregationOperationContext ctx)
SetWindowFieldsOperation.Window
context
.public Object getLower()
SetWindowFieldsOperation.Window
getLower
in interface SetWindowFieldsOperation.Window
public Object getUpper()
SetWindowFieldsOperation.Window
getUpper
in interface SetWindowFieldsOperation.Window
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.