Repository: accumulo
Updated Branches:
  refs/heads/master 98b527b8d -> c5165ca10


ACCUMULO-1669 Fix documentation to use example code that compiles when using a 
Mutation.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/f71720ab
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/f71720ab
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/f71720ab

Branch: refs/heads/master
Commit: f71720ab6dbdf99a5625e784a5b280939bb7b5fe
Parents: e9aafc2
Author: Bill Slacum <ujustgotbi...@apache.org>
Authored: Wed Feb 26 23:54:30 2014 -0500
Committer: Bill Slacum <ujustgotbi...@apache.org>
Committed: Wed Feb 26 23:54:30 2014 -0500

----------------------------------------------------------------------
 .../accumulo_user_manual/chapters/table_design.tex     | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/f71720ab/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex
----------------------------------------------------------------------
diff --git a/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex 
b/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex
index cd75b2f..a833115 100644
--- a/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex
+++ b/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex
@@ -32,15 +32,16 @@ if we have the following data in a comma-separated file:
 \end{verbatim}
 \normalsize
 
-We might choose to store this data using the userid as the rowID and the rest 
of the
-data in column families:
+We might choose to store this data using the userid as the rowID, the column
+name in the column family, and a blank column qualifier:
 
 \small
 \begin{verbatim}
-Mutation m = new Mutation(new Text(userid));
-m.put(new Text("age"), age);
-m.put(new Text("address"), address);
-m.put(new Text("balance"), account_balance);
+Mutation m = new Mutation(userid);
+final String column_qualifier = "";
+m.put("age", column_qualifier, age);
+m.put("address", column_qualifier, address);
+m.put("balance", column_qualifier, account_balance);
 
 writer.add(m);
 \end{verbatim}

Reply via email to