{
if (!dis.readBoolean())
return null;
ColumnFamily cf = ColumnFamily.create(deserializeCfId(dis, version), factory);
IColumnSerializer columnSerializer = cf.getColumnSerializer();
cf.delete(DeletionInfo.serializer().deserialize(dis, version, cf.getComparator()));
int expireBefore = (int) (System.currentTimeMillis() / 1000);
int size = dis.readInt();
for (int i = 0; i < size; ++i)
{
cf.addColumn(columnSerializer.deserialize(dis, flag, expireBefore));
}
return cf;
}