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