Finally I got it working...
Below are the code snippet which will be useful for trigger users,
public Collection augment(ByteBuffer key, ColumnFamily cf) {
try {
ByteBuffer id_bb = CompositeType.extractComponent(key, 0);
UUID id=TimeUUIDType.instance.compose(id_bb)
Hi,
I need your help on extract column names and values in the trigger augment
method.
*Table Def :*
create table dy_data (
id timeuuid,
data_key text,
time timestamp,
data text,
primary key((id,data_key),time)) with clustering order by (time desc);
public class ArchiveTrigger implements ITrigg