presto-main/src/main/java/io/prestosql/operator/window/AggregateWindowFunction.java/AggregateWindowFunction/reset
class AggregateWindowFunction:    @Override
    public void reset(WindowIndex windowIndex)
    {
        this.windowIndex = windowIndex;
        resetAccumulator();
    }