byte [] valueBytes = dbItem.getValue().get();
String value = valueBytes.length > 0 ? new String(valueBytes) : Defaults.defaultValue(String.class);
String colVis = dbItem.getKey().getColumnVisibility().toString();
String colFam = dbItem.getKey().getColumnFamily().toString();
long timestamp = dbItem.getKey().getTimestamp();
SecurityStringValueCell cell;
if(recordCF & recordTsAndColVis) {
cell = new SecurityStringValueCell(label, value, timestamp, colVis, colFam);
} else if (recordCF) {
cell = new SecurityStringValueCell(label, value, colFam);
} else if (recordTsAndColVis) {
cell = new SecurityStringValueCell(label, value, timestamp, colVis);
} else {
cell = new SecurityStringValueCell(label, value);
}
cellGroup.addCell(cell);
return cellGroup;
}