if you want to use raw Thrift, you should read http://wiki.apache.org/cassandra/API where the things like ColumnPath are explained
On Mon, May 10, 2010 at 1:08 PM, Atul Gosain <[email protected]> wrote: > Jonathan > > We just wanted to benchmark data insertion rates on the Cassandra store, > so we started with using Thrift API. Is Hector considered better than Thrift > because its better documented and intuitive that Thrift ? Any downside to > it, as Thrift is a low level API to Cassandra. I hope that Hector provides > the same functionality. > > Thanks > Atul > > On Mon, May 10, 2010 at 10:20 PM, Jonathan Ellis <[email protected]> wrote: >> >> Why are you using Thrift from java instead of Hector? >> >> http://github.com/rantav/hector >> >> On Mon, May 10, 2010 at 8:34 AM, Atul Gosain <[email protected]> wrote: >> > Hi >> > >> > Im really confused about using ColumnPath in thrift java interface. >> > Most of the examples provide create the ColumnPath with 3 parameters, >> > whereas the latest thrift api has ColumnPath with one parameter only. >> > If ColumnPath can be thought of as directory structure or path to the >> > column, then how can we specify that path. I see that we can provide a >> > supercolumn and that too as byte[]. What does this mean ? >> > >> > Im getting very confused about the usage of thrift API. Is there any >> > good information which is up to date and clearly shows usage of these >> > API's. >> > I have gone thru the Articles and Presentation pages of Cassandra. >> > >> > Thanks >> > Atul >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of Riptano, the source for professional Cassandra support >> http://riptano.com > > > > -- > > Regards > Atul > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com
