presto-main/src/main/java/io/prestosql/operator/window/WindowPartition.java/WindowPartition/hasNext
class WindowPartition:    public boolean hasNext()
    {
        return currentPosition < partitionEnd;
    }