/** * Returns the connector database service for the given <code>name</code>. * * @param name qualified name * @return Returns the connector database service for the given <code>name</code> */ public ConnectorDatabaseService getDatabaseService(final QualifiedName name) { return getConnectorFactory(name).getDatabaseService(); }
final ConnectorFactory connectorFactory = connectorPlugin.create(connectorContext); try { databaseServices.add(connectorFactory.getDatabaseService()); } catch (UnsupportedOperationException e) { log.debug("Catalog {}:{} doesn't support getDatabaseService. Ignoring.", catalogName, catalogShardName);