incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject [2/6] git commit: Added an id to the query in the querycollector test. Gets around a bug with blank uuids (being fixed)
Date Wed, 04 Sep 2013 00:06:12 GMT
Added an id to the query in the querycollector test. Gets around a bug with blank uuids (being
fixed)


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/7778be7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/7778be7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/7778be7c

Branch: refs/heads/master
Commit: 7778be7ce5dc67a21af95f7146b8125aa8bdae8d
Parents: 445997a
Author: Chris Rohr <crohr@nearinfinity.com>
Authored: Fri Aug 30 21:09:03 2013 -0400
Committer: Chris Rohr <crohr@nearinfinity.com>
Committed: Fri Aug 30 21:09:03 2013 -0400

----------------------------------------------------------------------
 .../collectors/blur/query/QueryCollectorTest.java | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7778be7c/contrib/blur-console/blur-agent/src/test/java/org/apache/blur/agent/collectors/blur/query/QueryCollectorTest.java
----------------------------------------------------------------------
diff --git a/contrib/blur-console/blur-agent/src/test/java/org/apache/blur/agent/collectors/blur/query/QueryCollectorTest.java
b/contrib/blur-console/blur-agent/src/test/java/org/apache/blur/agent/collectors/blur/query/QueryCollectorTest.java
index ca2a0c3..2e661ef 100644
--- a/contrib/blur-console/blur-agent/src/test/java/org/apache/blur/agent/collectors/blur/query/QueryCollectorTest.java
+++ b/contrib/blur-console/blur-agent/src/test/java/org/apache/blur/agent/collectors/blur/query/QueryCollectorTest.java
@@ -57,25 +57,9 @@ public class QueryCollectorTest extends BlurAgentBaseTestClass {
 
 		blurConnection.createTable(td);
 		
-//		Record record = new Record();
-//		record.setRecordId("abc");
-//	    record.setFamily("test");
-//	    record.setColumns(Arrays.asList(new Column[]{new Column("col", "blah")}));
-//		
-//		RecordMutation recordMutation = new RecordMutation();
-//		recordMutation.setRecordMutationType(RecordMutationType.REPLACE_ENTIRE_RECORD);
-//		recordMutation.setRecord(record);
-//		
-//		RowMutation row = new RowMutation();
-//		row.setRowId("12345");
-//		row.setTable("test");
-//		row.setRowMutationType(RowMutationType.REPLACE_ROW);
-//		row.setRecordMutations(Arrays.asList(new RecordMutation[]{recordMutation}));
-//		
-//		blurConnection.mutate(row);
-		
 		BlurQuery query = new BlurQuery();
 		query.setQuery(new Query("test.col:*", true, ScoreType.SUPER, null, null));
+		query.setUuid("12345");
 		blurConnection.query("test", query);
 		
 		System.out.println(jdbc.queryForList("select * from blur_queries"));


Mime
View raw message