code: public Stream window(WindowConfig windowConfig, WindowsStoreFactory windowStoreFactory, Fields inputFields,
                           Aggregator aggregator, Fields functionFields) {
          return window(windowConfig, windowStoreFactory, inputFields, aggregator, functionFields, true);
      }
docs: Returns stream of aggregated results based on the given window configuration.
  
  @param windowConfig window configuration like window length and slide length.
  @param windowStoreFactory intermediary tuple store for storing tuples for windowing
  @param inputFields input fields
  @param aggregator aggregator to run on the window of tuples to compute the result and emit to the stream.
  @param functionFields fields of values to emit with aggregation.
  
  @return the new stream with this operation.