private void addCell(ByteBuffer rowKey, IndexEntryBuilder builder, Cell cell) {
CellName cellName = cell.name();
ColumnIdentifier cql3ColName = cellName.cql3ColumnName(tableMapper.cfMetaData);
String actualColName = cql3ColName.toString();
if (logger.isTraceEnabled())
logger.trace("Got column name {} from CF", actualColName);
CellName clusteringKey = tableMapper.extractClusteringKey(cell.name());
ByteBuffer primaryKeyBuff = tableMapper.primaryKey(rowKey, clusteringKey);
String primaryKey = tableMapper.primaryKeyType.getString(primaryKeyBuff);
if (builder.isNew(primaryKey)) {
builder.newPrimaryKey(primaryKey, primaryKeyBuff);
if (logger.isTraceEnabled()) {
logger.trace("New PK found {}", primaryKey);
}
addPartitionKeyFields(rowKey, cell.timestamp(), builder);
addClusteringKeyFields(clusteringKey, cell.timestamp(), builder);
}
addCell(cell, cql3ColName, actualColName, builder);
}