return result;
}
public static ColumnFamilyConfig buildCfConfig(Conf conf) {
ColumnFamilyConfig family = new ColumnFamilyConfig();
String compression = conf.getChild("compression").getValue(null);
if (compression != null) {
family.setCompression(Compression.Algorithm.valueOf(compression.toUpperCase()));
}
String bloomFilter = conf.getChild("bloomFilter").getValue(null);
if (bloomFilter != null) {
family.setBoomFilter(StoreFile.BloomType.valueOf(bloomFilter.toUpperCase()));
}
Integer blockSize = conf.getChild("blockSize").getValueAsInteger(null);
if (blockSize != null) {
family.setBlockSize(blockSize);
}
return family;
}