Class TableProviderFactory
- java.lang.Object
-
- com.amazonaws.athena.connectors.aws.cmdb.TableProviderFactory
-
public class TableProviderFactory extends Object
Acts as a factory for all supported TableProviders and also a source of meta-data about the schemas and tables that the loaded TableProviders support.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TableProviderFactory(com.amazonaws.services.ec2.AmazonEC2 ec2, com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduce emr, com.amazonaws.services.rds.AmazonRDS rds, com.amazonaws.services.s3.AmazonS3 amazonS3, Map<String,String> configOptions)
TableProviderFactory(Map<String,String> configOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<TableName>>
getSchemas()
Provides access to the mapping of TableNames for each schema name discovered during the TableProvider scann.Map<TableName,TableProvider>
getTableProviders()
Provides access to the mapping of loaded TableProviders by their fully qualified table names.
-
-
-
Method Detail
-
getTableProviders
public Map<TableName,TableProvider> getTableProviders()
Provides access to the mapping of loaded TableProviders by their fully qualified table names.- Returns:
- Map of TableNames to their corresponding TableProvider.
-
-