> Thanks for the reply. Isn't the addColumn(IColumn col) method in the writer
> private though?
>
>
Yes but I thought you had it in your examples, was included for completeness.
use the official overloads.
Cheers
-
Aaron Morton
New Zealand
@aaronmorton
Co-Founder & Principa
Thanks for the reply. Isn't the addColumn(IColumn col) method in the writer
private though? I know what to do now in order to construct a column with a
TTL now. Thanks.
On Sep 26, 2013 9:00 PM, "Aaron Morton" wrote:
> > org.apache.cassandra.thrift.Column column; // initialize this with name,
> va
> org.apache.cassandra.thrift.Column column; // initialize this with name,
> value, timestamp, TTL
This is the wrong object to use.
one overload of addColumn() accepts IColumn which is from
org.apache.cassanda.db . The thrift classes are only use for the thrift API.
> What is the difference b
Can someone answer this doubt reg. SSTableSimpleWriter ? I'd asked about
this earlier but it probably missed. Apologies for repeating the question
(with minor additions) :
"""
Let's say I've initialized a *SSTableSimpleWriter* instance and a new
column with TTL set :
*org.apache.cassandra.io.sst
Let's say I've initialized a *SSTableSimpleWriter* instance and a new
column with TTL set :
*SSTableSimpleWriter writer = new SSTableSimpleWriter( ... /* params here
*/);*
*Column column;*
What is the difference between calling *writer.addColumn()* on the column's
name and value, and *writer.addE