public WindowInternal<M, WK, WV> getWindow() {
    return window;
  }
Constructor for {@link WindowOperatorSpec}.

@param window  the window function
@param opId  auto-generated unique ID of this operator
samza-core/src/main/java/org/apache/samza/operators/spec/WindowOperatorSpec.java