Hi
I am not sure if, stricly speaking, this is a dev list issue, but i
figured I would probably have a better chance here than user list. I am
using cassandra 2.0.1 and I am trying to write a trigger, but I am
having an issue. in the augment function:
public Collection<RowMutation> augment(ByteBuffer key, ColumnFamily update)
the instance that I get in variable 'update' is of type
'org.apache.cassandra.db.UnsortedColumns' instead of type ColumnFamily
which does not support lots of method that exist in ColumnFamily including:
public Column getColumn(ByteBuffer name)
{
throw new UnsupportedOperationException();
}
Now what I want to know is, first of all, why I am getting an
unsortedColumns instead of ColumnFamily? and how I can access my columns
from this class anyway?
the CF that I am running this trigger on is created using CQL3.
thanks,
--
Kaveh Minooie