Skip to content
Browse files

updated javadoc w correct package name. more details on readme

  • Loading branch information...
1 parent da0c521 commit 8c2139abeb0886db1a40ef9047cea90def2a7b31 zznate committed Aug 13, 2010
View
24 README.mdown
@@ -1,8 +1,24 @@
# Overview
-Provides example classes for using Hector to access Apache Cassandra (0.6.2)
+Provides example classes for using Hector to access Apache Cassandra (0.6.2).
+Most of these examples were inspired by the same questions appearing reapeatedly on:
+hector-users@googlegroups.com
-The classes in com.vrvm.cassandra.hector.example package can all be executed
-from maven via the following command:
-mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.[class name]"
+The goals for each of these classes are:
+- be completely atomic
+- be as simple as possible
+- have minimal dependencies
+- demonstrating a specific API call with the Hector client
+- sacrifice reuse and encapsulation for the sake of clarity
+
+
+Each class can be directly executed via maven like so:
+
+mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.[class name]"
These classes assume you have an instance of Cassandra running on localhost:9160 with the default configuration.
+
+#Additional Sources of Information
+Mail List: hector-users@googlegroups.com
+Hector Wiki: http://wiki.github.com/rantav/hector/
+Hector Doc at Riptano: http://www.riptano.com/sites/default/files/hector-api-for-cassandra.pdf
+
View
2 src/main/java/com/riptano/cassandra/hector/example/DeleteBatchMutate.java
@@ -17,7 +17,7 @@
* {@link InsertColumnsBatchMutate} example, leaving only the "first" column.
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.DeleteBatchMutate"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.DeleteBatchMutate"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/DeleteSingleColumn.java
@@ -12,7 +12,7 @@
* Deletes the "first" Column for the key "jsmith" from Standard1 ColumnFamily.
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.DeleteSingleColumn"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.DeleteSingleColumn"
*
* @author zznate
*/
View
2 src/main/java/com/riptano/cassandra/hector/example/FromUsersBatchMutate.java
@@ -18,7 +18,7 @@
* Original author: Shamik Bandopadhyay
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.FromUsersBatchMutate"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.FromUsersBatchMutate"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/GetRangeSlicesKeysOnly.java
@@ -23,7 +23,7 @@
* For clear results, it's best to run this on an empty ColumnFamily.
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.GetRangeSlicesKeysOnly"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.GetRangeSlicesKeysOnly"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/InsertColumnsBatchMutate.java
@@ -21,7 +21,7 @@
* to retrieve the rows.
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.InsertColumnsBatchMutate"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.InsertColumnsBatchMutate"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/InsertSingleColumn.java
@@ -14,7 +14,7 @@
* key "jsmith" in the Standard1 ColumnFamily
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.InsertSingleColumn"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.InsertSingleColumn"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/InsertSuperColumn.java
@@ -16,7 +16,7 @@
* Like {@link InsertSingleColumn} except with a SuperColumn
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.InsertSuperColumn"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.InsertSuperColumn"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/PaginateGetRangeSlices.java
@@ -24,7 +24,7 @@
* get_range_slices.
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.PaginateGetRangeSlices"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.PaginateGetRangeSlices"
*
* @author zznate
*
View
2 src/main/java/com/riptano/cassandra/hector/example/TombstonedGetRangeSlices.java
@@ -22,7 +22,7 @@
* get_range_slices and get_slice
*
* To run this example from maven:
- * mvn -e exec:java -Dexec.mainClass="com.vrvm.cassandra.hector.example.TombstonedGetRangeSlices"
+ * mvn -e exec:java -Dexec.mainClass="com.riptano.cassandra.hector.example.TombstonedGetRangeSlices"
*
* @author zznate
*

0 comments on commit 8c2139a

Please sign in to comment.
Something went wrong with that request. Please try again.