Interface SetWindowFieldsOperation.Window

All Known Implementing Classes:
SetWindowFieldsOperation.DocumentWindow, SetWindowFieldsOperation.RangeWindow
Enclosing class:
SetWindowFieldsOperation

public static interface SetWindowFieldsOperation.Window
  • Method Summary

    Modifier and Type
    Method
    Description
    The lower (inclusive) boundary.
    The upper (inclusive) boundary.
    default org.bson.Document
    Obtain the document representation of the window in a default context.
    org.bson.Document
    Obtain the document representation of the window in the given context.
  • Method Details

    • getLower

      Object getLower()
      The lower (inclusive) boundary.
      Returns:
    • getUpper

      Object getUpper()
      The upper (inclusive) boundary.
      Returns:
    • toDocument

      default org.bson.Document toDocument()
      Obtain the document representation of the window in a default context.
      Returns:
      never null.
    • toDocument

      org.bson.Document toDocument(AggregationOperationContext ctx)
      Obtain the document representation of the window in the given context.
      Returns:
      never null.