Try:
unfilteredRowIterator.next().clustering().toString(update.metadata())
To get the raw values, you can use:
unfilteredRowIterator.next().clustering().getRawValues()
On Thu, May 26, 2016 at 7:25 AM, Siddharth Verma <
verma.siddha...@snapdeal.com> wrote:
> Hi Sam,
> Sorry, I couldn't understa
Hi Sam,
Sorry, I couldn't understand.
I am already using
UnfilteredRowIterator unfilteredRowIterator =partition.unfilteredIterator();
while(unfilteredRowIterator.hasNext()){
next.append(unfilteredRowIterator.next().toString()+"\001");
}
Is there another way to access it?
If you just want the string representations you can just use
Unfiltered::clustering to get the Clustering instance for each Unfiltered,
then call its toString(CFMetadata), passing update.metadata().
On Thu, May 26, 2016 at 12:01 PM, Siddharth Verma <
verma.siddha...@snapdeal.com> wrote:
> Tried
Tried the following as well. Still no result.
update.metadata().clusteringColumns().toString() -> get clustering column
names
update.columns().toString() -> gets no primary key
colulmns
update.partitionKey().toString() -> gets token range
Any help would be
hi,
I am creating a trigger in cassandra
---
public class GenericAuditTrigger implements ITrigger
{
private static SimpleDateFormat dateFormatter = new SimpleDateFormat
("/MM