use of org.apache.carbondata.core.indexstore.blockletindex.BlockIndex in project carbondata by apache.
the class BlockletIndexStore method clearAccessCount.
/**
* The method clears the access count of table segments
*
* @param tableSegmentUniqueIdentifiersWrapper
*/
@Override
public void clearAccessCount(List<TableBlockIndexUniqueIdentifierWrapper> tableSegmentUniqueIdentifiersWrapper) {
for (TableBlockIndexUniqueIdentifierWrapper identifierWrapper : tableSegmentUniqueIdentifiersWrapper) {
BlockIndex cacheable = (BlockIndex) lruCache.get(identifierWrapper.getTableBlockIndexUniqueIdentifier().getUniqueTableSegmentIdentifier());
cacheable.clear();
}
}
Aggregations