use of com.amazonaws.services.glue.AWSGlue in project streamliner by phdata.
the class GlueCrawler method getTables.
private List<Table> getTables(String region, String database) {
AWSGlue client = AWSGlueClient.builder().withRegion(region).build();
GetTablesResult tables = client.getTables(new GetTablesRequest().withDatabaseName(database));
return tables.getTableList();
}
Aggregations