Interface CatalogResolver
- All Known Implementing Classes:
CatalogResolver.NullCatalogResolver
public interface CatalogResolver
Facade onto the (optional) Druid catalog. Configured in Guice to be
the
CatalogResolver.NullCatalogResolver or to an actual catalog.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classCatalog resolver for when the catalog is not available. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetTableNames(Set<String> datasourceNames) booleanGlobal option to determine whether ingest requires an existing datasource, or can automatically create a new datasource.resolveDatasource(String tableName, DatasourceTable.PhysicalDatasourceMetadata dsMetadata) Create aDruidTablefor a given table name andDatasourceTable.PhysicalDatasourceMetadata, potentially blending data from both existing segments and metadata stored ingetMetadataCatalog()
-
Field Details
-
NULL_RESOLVER
-
-
Method Details
-
ingestRequiresExistingTable
boolean ingestRequiresExistingTable()Global option to determine whether ingest requires an existing datasource, or can automatically create a new datasource. -
getMetadataCatalog
MetadataCatalog getMetadataCatalog() -
resolveDatasource
DruidTable resolveDatasource(String tableName, DatasourceTable.PhysicalDatasourceMetadata dsMetadata) Create aDruidTablefor a given table name andDatasourceTable.PhysicalDatasourceMetadata, potentially blending data from both existing segments and metadata stored ingetMetadataCatalog() -
getTableNames
-