prepare*Query methods from BigdataSailRemoteRepositoryConnection return query objects that support only evaluate() method, other methods throw UnsupportedOperationException. There are TODOs about implementing that:
I found this when I tried to use evaluate(RDFHandler/TupleQueryResultHandler) and setBinding() methods.
Why I need them:
- setBinding() is just convenient to use
- e.g. you don't have to worry about escaping while manually constructing bindings in SPARQL. And our exising code uses this method a lot.
- evaluate() with callback can be more efficient because it can avoid using additional thread from executor to parse result and use calling thread to do that at the same time handling the results.
Also we will probably need setMaxQueryTime().
This is about READ_CACHE branch rev 7217.