presto-main/src/main/java/io/prestosql/operator/GroupIdOperator.java/GroupIdOperator/getOutput
class GroupIdOperator:    @Override
    public Page getOutput()
    {
        if (currentPage == null) {
            return null;
        }

        return generateNextPage();
    }