Most often, you will define schema with the cli. Programmatic schema definition is "advanced" in Cassandra, just as in relational databases.
On Tue, Jan 18, 2011 at 10:19 PM, Jeremy Hanna <jeremy.hanna1...@gmail.com> wrote: > Definitely get involved with that google group, but some examples are found > here: > https://github.com/zznate/hector-examples/blob/master/src/main/java/com/riptano/cassandra/hector/example/SchemaManipulation.java > > On Jan 18, 2011, at 10:17 PM, Aaron Morton wrote: > >> Try the hector user group for help on how to use the client >> http://groups.google.com/group/hector-users >> >> You can also create a keyspace in a cassandra cluster via the cassandra-cli >> command line interface Take a look at the tools online help if you're >> interested. >> >> Aaron >> >> On 19 Jan, 2011,at 05:00 PM, "raoyixuan (Shandy)" <raoyix...@huawei.com> >> wrote: >> >>> Can you tell me the exactly steps to create a keyspace by hector client? >>> >>> >>> >>> 华为技术有限公司 Huawei Technologies Co., Ltd. >>> <image001.jpg> >>> >>> >>> >>> >>> >>> >>> Phone: 28358610 >>> Mobile: 13425182943 >>> Email: raoyix...@huawei.com >>> 地址:深圳市龙岗区坂田华为基地 邮编:518129 >>> Huawei Technologies Co., Ltd. >>> Bantian, Longgang District,Shenzhen 518129, P.R.China >>> http://www.huawei.com >>> 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁 >>> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中 >>> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! >>> This e-mail and its attachments contain confidential information from >>> HUAWEI, which >>> is intended only for the person or entity whose address is listed above. >>> Any use of the >>> information contained herein in any way (including, but not limited to, >>> total or partial >>> disclosure, reproduction, or dissemination) by persons other than the >>> intended >>> recipient(s) is prohibited. If you receive this e-mail in error, please >>> notify the sender by >>> phone or email immediately and delete it! >>> > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com