You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2014/06/09 16:53:18 UTC

[2/3] git commit: ACCUMULO-2874 update the docs to match the actual API

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/0038df13
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/0038df13
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/0038df13

Branch: refs/heads/1.6.1-SNAPSHOT
Commit: 0038df13233e55b6b7e1a9f7dd51809ef2ed060e
Parents: 73e0f9c 1e0d50e
Author: Eric C. Newton <er...@gmail.com>
Authored: Mon Jun 9 10:39:24 2014 -0400
Committer: Eric C. Newton <er...@gmail.com>
Committed: Mon Jun 9 10:39:24 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/0038df13/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
----------------------------------------------------------------------
diff --cc docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
index 925c352,4bf5a93..1dbe564
--- a/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
+++ b/docs/src/main/latex/accumulo_user_manual/chapters/clients.tex
@@@ -151,13 -136,14 +151,13 @@@ 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}
 -\normalsize
 +\end{verbatim}\endgroup
  
  \subsection{Isolated Scanner}
  
@@@ -208,10 -192,11 +208,10 @@@ 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}
 -\normalsize
 +\end{verbatim}\endgroup
  
  An example of the BatchScanner can be found at\\
  accumulo/docs/examples/README.batch