presto-main/src/main/java/io/prestosql/execution/SqlQueryExecution.java/SqlQueryExecution/addOutputInfoListener
class SqlQueryExecution:    @Override
    public void addOutputInfoListener(Consumer<QueryOutputInfo> listener)
    {
        stateMachine.addOutputInfoListener(listener);
    }