}
List<CounterColumn> thriftCounterColumns = tf.getCounterColumns();
List<CounterSuperColumn> thriftCounterSuperColumns = tf.getCounterSuperColumns();
if (thriftCounterColumns != null && !thriftCounterColumns.isEmpty())
{
mutator.writeCounterColumns(tf.getColumnFamilyName(),
Bytes.fromByteBuffer(CassandraUtilities.toBytes(tf.getId(), tf.getId().getClass())),
Arrays.asList(tf.getCounterColumns().toArray(new CounterColumn[0])));
}
if (thriftCounterSuperColumns != null && !thriftCounterSuperColumns.isEmpty())