@Override
  public void check() {
    if (windowSize <= 0) {
      throw new RuntimeException(
          String.format("Parameter windowSize(%d) should be positive.", windowSize));
    }
    if (slidingStep <= 0) {
      throw new RuntimeException(
          String.format("Parameter slidingStep(%d) should be positive.", slidingStep));
    }
  }
Constructor. You need to specify the number of rows in each sliding size window (except for the
last window). The sliding step will be set to the same as the window size.

@param windowSize the number of rows in each sliding size window (0 < windowSize)
iotdb-api/udf-api/src/main/java/org/apache/iotdb/udf/api/customizer/strategy/SlidingSizeWindowAccessStrategy.java