DoubleBuffer dbBuffer = buffer.asDoubleBuffer();
double value = valueBytes.length > 0 ? dbBuffer.get() : Defaults.defaultValue(double.class);
String colVis = dbItem.getKey().getColumnVisibility().toString();
String colFam = dbItem.getKey().getColumnFamily().toString();
long timestamp = dbItem.getKey().getTimestamp();
SecurityDoubleValueCell cell;
if(recordCF & recordTsAndColVis) {
cell = new SecurityDoubleValueCell(label, value, timestamp, colVis, colFam);
} else if (recordCF) {
cell = new SecurityDoubleValueCell(label, value, colFam);
} else if (recordTsAndColVis) {
cell = new SecurityDoubleValueCell(label, value, timestamp, colVis);
} else {
cell = new SecurityDoubleValueCell(label, value);
}
cellGroup.addCell(cell);
return cellGroup;
}