@Test(expected = UnsupportedException.class) public void alterCatalogTest() throws UnsupportedException, ExecutionException { mongoMetadataEngine.alterCatalog(new CatalogName(DB_NAME), null, connection); }
@Override protected void alterCatalog(CatalogName catalogName, Map<Selector, Selector> options, Connection<MongoClient> connection) throws UnsupportedException, ExecutionException { final String msg = "Alter catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void alterCatalog(CatalogName catalogName, Map<Selector, Selector> options, Connection<MongoClient> connection) throws UnsupportedException, ExecutionException { final String msg = "Alter catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void alterCatalog(CatalogName catalogName, Map<Selector, Selector> options, Connection<MongoClient> connection) throws UnsupportedException, ExecutionException { final String msg = "Alter catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } private  MongoMetadataEngine(MongoConnectionHandler connectionHandler); }
MongoMetadataEngine extends CommonsMetadataEngine<MongoClient> { @Override protected void alterCatalog(CatalogName catalogName, Map<Selector, Selector> options, Connection<MongoClient> connection) throws UnsupportedException, ExecutionException { final String msg = "Alter 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 alterCatalog(CatalogName catalogName, Map<Selector, Selector> options, Connection<MongoClient> connection) throws UnsupportedException, ExecutionException { final String msg = "Alter catalog is not supported"; logger.error(msg); throw new UnsupportedException(msg); } private  MongoMetadataEngine(MongoConnectionHandler connectionHandler); static MongoMetadataEngine getInstance(MongoConnectionHandler connectionHandler);  }