accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2874 update the docs to match the actual API
Date Mon, 09 Jun 2014 14:52:26 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.5.2-SNAPSHOT c839e2ff7 -> 1e0d50e61


ACCUMULO-2874 update the docs to match the actual API


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

Branch: refs/heads/1.5.2-SNAPSHOT
Commit: 1e0d50e6119df49b79bfdff6be81d9f8c5f667bb
Parents: c839e2f
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Jun 9 09:44:04 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Jun 9 09:44:04 2014 -0400

----------------------------------------------------------------------
 .../src/main/latex/accumulo_user_manual/chapters/clients.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1e0d50e6/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
----------------------------------------------------------------------
diff --git a/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex b/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
index 18fbafc..4bf5a93 100644
--- a/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
+++ b/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
@@ -136,10 +136,10 @@ Scanner scan =
     conn.createScanner("table", auths);
 
 scan.setRange(new Range("harry","john"));
-scan.fetchFamily("attributes");
+scan.fetchColumnFamily(new Text("attributes"));
 
 for(Entry<Key,Value> entry : scan) {
-    String row = entry.getKey().getRow();
+    Text row = entry.getKey().getRow();
     Value value = entry.getValue();
 }
 \end{verbatim}
@@ -192,7 +192,7 @@ BatchScanner bscan =
     conn.createBatchScanner("table", auths, 10);
 
 bscan.setRanges(ranges);
-bscan.fetchFamily("attributes");
+bscan.fetchColumnFamily(new Text("attributes"));
 for(Entry<Key,Value> entry : scan)
     System.out.println(entry.getValue());
 \end{verbatim}
@@ -329,4 +329,4 @@ for(KeyValue keyValue : results.getResultsIterator()) {
 
 client.closeScanner(scanner);
 \end{verbatim}
-\normalsize
\ No newline at end of file
+\normalsize


Mime
View raw message