@Test(expected = UnsupportedException.class) public void createCatalogTest() throws ExecutionException, UnsupportedException { mongoMetadataEngine.createCatalog(Matchers.any(CatalogMetadata.class), connection); }
@Override protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection) throws UnsupportedException { final String msg = "Create catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection) throws UnsupportedException { final String msg = "Create catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection) throws UnsupportedException { final String msg = "Create catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } private  MongoMetadataEngine(MongoConnectionHandler connectionHandler); }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection) throws UnsupportedException { final String msg = "Create catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } private  MongoMetadataEngine(MongoConnectionHandler connectionHandler); static MongoMetadataEngine getInstance(MongoConnectionHandler connectionHandler); }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void createCatalog(CatalogMetadata catalogMetadata, Connection<MongoClient> connection) throws UnsupportedException { final String msg = "Create catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } private  MongoMetadataEngine(MongoConnectionHandler connectionHandler); static MongoMetadataEngine getInstance(MongoConnectionHandler connectionHandler);  }