Class 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 Detail

      • TableProviderFactory

        public TableProviderFactory​(Map<String,​String> configOptions)
      • TableProviderFactory

        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 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.
      • getSchemas

        public Map<String,​List<TableName>> getSchemas()
        Provides access to the mapping of TableNames for each schema name discovered during the TableProvider scann.
        Returns:
        Map of schema names to their corresponding list of fully qualified TableNames.