Re: Bulk loading into CQL3 Composite Columns

2013-05-31 Thread Hiller, Dean
"user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Date: Friday, May 31, 2013 9:01 AM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Bulk loading into

Re: Bulk loading into CQL3 Composite Columns

2013-05-31 Thread Daniel Morton
> ) > > You can see the source for CompositeSerializer here: > http://grepcode.com/file/repo1.maven.org/maven2/com.netflix.astyanax/astyanax/1.56.26/com/netflix/astyanax/serializers/CompositeSerializer.java > > Good luck! > > From: Daniel Morton > Reply-To: "user@cas

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
ache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Bulk loading into CQL3 Composite Columns Hi Keith... Thanks for the help. I'm presently not importing the Hector library (Which is where classes like CompositeSerializer and Stri

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
umnComposite), null, >> System.currentTimeMillis() ); >> >> From: Keith Wright >> Date: Thursday, May 30, 2013 3:32 PM >> To: "user@cassandra.apache.org" >> Subject: Re: Bulk loading into CQL3 Composite Columns >> >> You do not want to repeat t

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
: Daniel Morton > Reply-To: "user@cassandra.apache.org" > Date: Thursday, May 30, 2013 1:06 PM > To: "user@cassandra.apache.org" > Subject: Bulk loading into CQL3 Composite Columns > > Hi All. I am trying to bulk load some data into a CQL3 table using the > sstableloa

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Edward Capriolo
> > ssTableWriter.addColumn( > CompositeSerializer.get().toByteBuffer(columnComposite), null, > System.currentTimeMillis() ); > > From: Keith Wright > Date: Thursday, May 30, 2013 3:32 PM > To: "user@cassandra.apache.org" > Subject: Re: Bulk loading into CQL3 Compo

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
ssandra.apache.org>> Subject: Re: Bulk loading into CQL3 Composite Columns You do not want to repeat the first item of your primary key again. If you recall, in CQL3 a primary key as defined below indicates that the row key is the first item (key) and then the column names are composites of

Re: Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Keith Wright
t;" mailto:user@cassandra.apache.org>> Date: Thursday, May 30, 2013 1:06 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Bulk loading into CQL3 Composite Columns Hi All. I am trying to bulk load

Bulk loading into CQL3 Composite Columns

2013-05-30 Thread Daniel Morton
Hi All. I am trying to bulk load some data into a CQL3 table using the sstableloader utility and I am having some difficulty figuring out how to use the SSTableSimpleUnsortedWriter with composite columns. I have created this simple contrived table for testing: create table test (key varchar, val