presto-main/src/main/java/io/prestosql/operator/WorkProcessor.java/WorkProcessor/transformProcessor
class WorkProcessor:    default <R> WorkProcessor<R> transformProcessor(Function<WorkProcessor<T>, WorkProcessor<R>> transformation)
    {
        return transformation.apply(this);
    }