// presto announcement
ServiceAnnouncementBuilder prestoAnnouncement = discoveryBinder(binder).bindHttpAnnouncement("presto")
.addProperty("node_version", nodeVersion.toString());
if (serverConfig.getDataSources() != null) {
prestoAnnouncement.addProperty("datasources", serverConfig.getDataSources());
}
bindDataSource(binder, "presto-metastore", ForMetadata.class, ForShardManager.class);
Multibinder<ResultSetMapper<?>> resultSetMapperBinder = newSetBinder(binder, new TypeLiteral<ResultSetMapper<?>>() {}, ForMetadata.class);
resultSetMapperBinder.addBinding().to(TableColumnMapper.class).in(Scopes.SINGLETON);