You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by el...@apache.org on 2013/09/19 19:42:08 UTC
[1/3] git commit: ACCUMULO-1673 fix 1.5 manual indexing example
Updated Branches:
refs/heads/master fe85c92d2 -> c16539486
ACCUMULO-1673 fix 1.5 manual indexing example
Signed-off-by: Josh Elser <el...@rpi.edu>
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/baf134c8
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/baf134c8
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/baf134c8
Branch: refs/heads/master
Commit: baf134c836dd90d581a71484544d5ced64a7e35a
Parents: 4f2516e
Author: Alex Moundalexis <al...@cloudera.com>
Authored: Thu Sep 19 11:46:20 2013 -0400
Committer: Josh Elser <el...@rpi.edu>
Committed: Thu Sep 19 12:46:01 2013 -0400
----------------------------------------------------------------------
.../latex/accumulo_user_manual/chapters/table_design.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/baf134c8/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 a5cc771..1f6deb5 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
@@ -151,22 +151,22 @@ sorted order, as is the case with the basic Scanner interface.
Text term = new Text("mySearchTerm");
-HashSet<Text> matchingRows = new HashSet<Text>();
+HashSet<Range> matchingRows = new HashSet<Range>();
Scanner indexScanner = createScanner("index", auths);
indexScanner.setRange(new Range(term, term));
// we retrieve the matching rowIDs and create a set of ranges
for(Entry<Key,Value> entry : indexScanner)
- matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
+ matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
// now we pass the set of rowIDs to the batch scanner to retrieve them
BatchScanner bscan = conn.createBatchScanner("table", auths, 10);
bscan.setRanges(matchingRows);
-bscan.fetchFamily("attributes");
+bscan.fetchColumnFamily("attributes");
-for(Entry<Key,Value> entry : scan)
+for(Entry<Key,Value> entry : bscan)
System.out.println(entry.getValue());
\end{verbatim}
\normalsize
[2/3] git commit: ACCUMULO-1673 fetchColumnFamily only takes a Text,
not a String or CharSequence.
Posted by el...@apache.org.
ACCUMULO-1673 fetchColumnFamily only takes a Text, not a String or
CharSequence.
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/3c4f4f06
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/3c4f4f06
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/3c4f4f06
Branch: refs/heads/master
Commit: 3c4f4f065a099a01c8c27e367db00cd6ed19bc96
Parents: baf134c
Author: Josh Elser <el...@rpi.edu>
Authored: Thu Sep 19 13:17:31 2013 -0400
Committer: Josh Elser <el...@rpi.edu>
Committed: Thu Sep 19 13:17:31 2013 -0400
----------------------------------------------------------------------
docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/3c4f4f06/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 1f6deb5..c7e0e61 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
@@ -164,7 +164,7 @@ for(Entry<Key,Value> entry : indexScanner)
BatchScanner bscan = conn.createBatchScanner("table", auths, 10);
bscan.setRanges(matchingRows);
-bscan.fetchColumnFamily("attributes");
+bscan.fetchColumnFamily(new Text("attributes"));
for(Entry<Key,Value> entry : bscan)
System.out.println(entry.getValue());
[3/3] git commit: Merge branch '1.5.1-SNAPSHOT'
Posted by el...@apache.org.
Merge branch '1.5.1-SNAPSHOT'
Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/c1653948
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/c1653948
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/c1653948
Branch: refs/heads/master
Commit: c16539486d6d434b9fcd236970145227b02ecfad
Parents: fe85c92 3c4f4f0
Author: Josh Elser <jo...@gmail.com>
Authored: Thu Sep 19 13:21:43 2013 -0400
Committer: Josh Elser <jo...@gmail.com>
Committed: Thu Sep 19 13:21:43 2013 -0400
----------------------------------------------------------------------
.../latex/accumulo_user_manual/chapters/table_design.tex | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/accumulo/blob/c1653948/docs/src/main/latex/accumulo_user_manual/chapters/table_design.tex
----------------------------------------------------------------------