/** * registered in the store manager. * The datamap is created using datamap name, datamap factory class and table identifier. */ // TODO: make it private public TableDataMap createAndRegisterDataMap(CarbonTable table, DataMapSchema dataMapSchema) throws MalformedDataMapCommandException { DataMapFactory dataMapFactory = getDataMapFactoryClass(table, dataMapSchema); return registerDataMap(table, dataMapSchema, dataMapFactory); }
for (TableDataMap dataMap : datamaps) { DataMapFactory factoryClass = DataMapStoreManager.getInstance().getDataMapFactoryClass( carbonTable, dataMap.getDataMapSchema()); if (factoryClass.willBecomeStale(operation)) {