presto-main/src/main/java/io/prestosql/dispatcher/LocalDispatchQuery.java/LocalDispatchQuery/getSession
class LocalDispatchQuery:    @Override
    public Session getSession()
    {
        return stateMachine.getSession();
    }