Class PostgresDatabaseStatsExtractor

java.lang.Object
org.odpi.openmetadata.adapters.connectors.postgres.survey.PostgresDatabaseStatsExtractor

public class PostgresDatabaseStatsExtractor extends Object
  • Constructor Details

    • PostgresDatabaseStatsExtractor

      public PostgresDatabaseStatsExtractor(List<String> validDatabases, SurveyActionServiceConnector surveyActionServiceConnector)
      Constructor sets up the list of databases to process and the connection to the database. Every schema in those databases is surveyed.
      Parameters:
      validDatabases - list of database names
      surveyActionServiceConnector - calling connector
    • PostgresDatabaseStatsExtractor

      public PostgresDatabaseStatsExtractor(List<String> validDatabases, List<String> excludedSchemas, List<String> includedSchemas, SurveyActionServiceConnector surveyActionServiceConnector)
      Constructor sets up the list of databases to process, the schemas within them to survey, and the connection to the database.
      Parameters:
      validDatabases - list of database names
      excludedSchemas - schemas to leave out (null means none are excluded)
      includedSchemas - the only schemas to survey (null means all that are not excluded); takes precedence over excludedSchemas
      surveyActionServiceConnector - calling connector