日期:2014-05-17 浏览次数:20826 次
====16 Feb 2012, by Bright Zheng (IT进行时)====
We try to learn it step by step to understand the concepts and Java API usages by means of:
1. Concept Introduction
2. CLI
3. Java Sample Code
public QueryResult<HColumn<String,String>> execute() {??????? ??????? ColumnQuery<String, String, String> columnQuery = HFactory.createStringColumnQuery(keyspace); ??????? columnQuery.setColumnFamily("Npanxx"); ??????? columnQuery.setKey("512204"); ??????? columnQuery.setName("city"); ??????? QueryResult<HColumn<String, String>> result = columnQuery.execute(); ??????? ??????? return result; ??? } |
C:\projects_learning\learning-cassandra-tutorial>mvn
-e e
|