presto-hive/src/main/java/io/prestosql/plugin/hive/authentication/HdfsAuthentication.java/HdfsAuthentication/doAs
class HdfsAuthentication:    default void doAs(String user, Runnable action)
    {
        doAs(user, () -> {
            action.run();
            return null;
        });
    }