private static QualifiedTablePrefix extractQualifiedTablePrefix(String catalogName, Map<String, Object> filters)
{
Optional<String> schemaName = getFilterColumn(filters, "table_schema");
Optional<String> tableName = getFilterColumn(filters, "table_name");
if (!schemaName.isPresent()) {
return new QualifiedTablePrefix(catalogName, Optional.<String>absent(), Optional.<String>absent());
}
return new QualifiedTablePrefix(catalogName, schemaName, tableName);
}