use of org.apache.carbondata.core.metadata.schema.table.DataMapSchemaStorageProvider 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