Skip to content
Browse files

Bindings debug

  • Loading branch information...
1 parent 8bd14bc commit 2bb57c58eb890a68295782675a45a414f67532ba Anca Dumitrache committed Apr 11, 2012
View
3 src/main/java/nl/vu/datalayer/hbase/sail/HBaseRepositoryConnection.java
@@ -383,11 +383,12 @@ public void evaluate(TupleQueryResultHandler handler) throws QueryEvaluationExce
index++;
BindingSet bs = (BindingSet)ci.next();
bindingList.addAll(bs.getBindingNames());
+ System.out.println("Binding size(" + index + "): " + bs.getBindingNames().size());
}
TupleQueryResult result = new TupleQueryResultImpl(bindingList,
ci);
- System.out.println("TupleQueryResult:" + getBindings().getBindingNames().toString());
+ System.out.println("TupleQueryResult:" + bindingList.size());
// Get all triples from HBase, without evaluating them against the
// memory triple store.
View
4 src/main/java/nl/vu/datalayer/hbase/sail/HBaseSailConnection.java
@@ -478,7 +478,9 @@ else if (index == 1) {
int index = 0;
while (ci.hasNext()) {
index++;
- ci.next();
+ BindingSet bs = (BindingSet)ci.next();
+ System.out.println("Binding size(" + index + "): " + bs.getBindingNames().size());
+
}
System.out.println("Results retrieved from memory store: " + index);

0 comments on commit 2bb57c5

Please sign in to comment.
Something went wrong with that request. Please try again.