presto-main/src/main/java/io/prestosql/Session.java/Session/toConnectorSession
class Session:    public ConnectorSession toConnectorSession()
    {
        return new FullConnectorSession(this, identity.toConnectorIdentity());
    }