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 TableProviderFactory(Map<String,String> configOptions)
protected
TableProviderFactory(software.amazon.awssdk.services.ec2.Ec2Client ec2, software.amazon.awssdk.services.emr.EmrClient emr, software.amazon.awssdk.services.rds.RdsClient rds, software.amazon.awssdk.services.s3.S3Client amazonS3, 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.
-
-