presto-main/src/main/java/io/prestosql/operator/TransformWork.java/TransformWork/getResult
class TransformWork:    @Override
    public O getResult()
    {
        checkState(finished, "process has not finished");
        return result;
    }