use of org.apache.carbondata.core.metadata.schema.table.DiskBasedDMSchemaStorageProvider in project carbondata by apache.
the class DataMapStoreManager method getAllDataMapSchemas.
public List<DataMapSchema> getAllDataMapSchemas() {
DataMapSchemaStorageProvider provider = new DiskBasedDMSchemaStorageProvider(CarbonProperties.getInstance().getSystemFolderLocation());
List<DataMapSchema> dataMapSchemas;
try {
dataMapSchemas = provider.retrieveAllSchemas();
} catch (IOException e) {
throw new RuntimeException(e);
}
return dataMapSchemas;
}
Aggregations