incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Schema init 'best practice'
Date Fri, 18 Feb 2011 16:30:47 GMT
On Fri, Feb 18, 2011 at 9:59 AM, Benson Margulies <bimargulies@gmail.com> wrote:
> I want to package some schema with a library.
>
> I could use the hector API to create the schema if not found.

That's probably simplest for your users.  (This is what stress.java
does, for instance.)

Otherwise, I'd recommend bundling a cli script that does the desired
create statements.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message