public static void addColumns(RowMutation rm, String cfName, Entry<String, Map<String, String>> tentry, long modificationTimestamp)
{
ColumnFamily cf = rm.addOrGet(CFMetaData.SchemaTriggersCf);
assert tentry.getValue().get(CLASS_KEY) != null;
ColumnNameBuilder builder = CFMetaData.SchemaTriggersCf.getCfDef().getColumnNameBuilder();
builder.add(ByteBufferUtil.bytes(cfName)).add(ByteBufferUtil.bytes(tentry.getKey())).add(ByteBufferUtil.bytes(OPTIONS_KEY));
for (Entry<String, String> entry : tentry.getValue().entrySet())
{
ColumnNameBuilder builderCopy = builder.copy();
builderCopy.add(ByteBufferUtil.bytes(entry.getKey()));
cf.addColumn(builderCopy.build(), ByteBufferUtil.bytes(entry.getValue()), modificationTimestamp);
}
}