presto-main/src/main/java/io/prestosql/sql/planner/planprinter/IoPlanPrinter.java/IoPlanPrinter/textIoPlan
class IoPlanPrinter:    public static String textIoPlan(Plan plan, Metadata metadata, Session session)
    {
        return new IoPlanPrinter(plan, metadata, session).print();
    }