Skip to content
Browse files

Improved documentation a bit

  • Loading branch information...
1 parent 545b738 commit 2a53bb48a43469da7d6059bf15a58184df4a2650 @daggerrz committed Apr 8, 2011
View
2 contrib/hadoop/src/java/voldemort/hadoop/pig/AbstractVoldemortStore.java
@@ -16,7 +16,7 @@
import java.io.IOException;
/**
- *
+ * Superclass for Voldemort Pig Stores. The Tuple format is specified by subclasses.
*/
public abstract class AbstractVoldemortStore extends LoadFunc {
protected RecordReader reader;
View
4 contrib/hadoop/src/java/voldemort/hadoop/pig/BinaryVoldemortStore.java
@@ -34,7 +34,7 @@
import java.io.IOException;
/**
- * Voldemort store which exposes values as DataByteArray. Useful for loading
+ * Voldemort store which exposes values as DataByteArrays. Useful for loading
* binary format data (e.g protobufs, thrift).
*
* To use with Twitter's Elephant-Bird:
@@ -43,7 +43,7 @@
* dataset = LOAD 'tcp://localhost:6666/storename' USING BinaryVoldemortStore();
* DEFINE XProtoFormat x.x.x.pig.piggybank.XProtobufBytesToTuple();
* result = FOREACH dataset GENERATE $0 as key, XProtoFormat($1).fieldName as fieldName;
- * <pre>
+ * </pre>
*/
public class BinaryVoldemortStore extends AbstractVoldemortStore {
@Override
View
3 contrib/hadoop/src/java/voldemort/hadoop/pig/VoldemortStore.java
@@ -34,6 +34,9 @@
import voldemort.utils.ByteArray;
import voldemort.versioning.Versioned;
+/**
+ * Voldemort store which exposes values as Strings.
+ */
public class VoldemortStore extends AbstractVoldemortStore {
@Override

0 comments on commit 2a53bb4

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