org.openrdf.repository.sparql.query
Class SPARQLTupleQuery
java.lang.Object
org.openrdf.repository.sparql.query.SPARQLQuery
org.openrdf.repository.sparql.query.SPARQLTupleQuery
- All Implemented Interfaces:
- Operation, Query, TupleQuery
public class SPARQLTupleQuery
- extends SPARQLQuery
- implements TupleQuery
Parses tuple results in the background.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.repository.sparql.query.SPARQLQuery |
clearBindings, execute, getBindingNames, getBindings, getDataset, getIncludeInferred, getMaxQueryTime, getResponse, getUrl, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxQueryTime |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPARQLTupleQuery
public SPARQLTupleQuery(org.apache.commons.httpclient.HttpClient client,
String url,
String base,
String query)
evaluate
public TupleQueryResult evaluate()
throws QueryEvaluationException
- Specified by:
evaluate in interface TupleQuery
- Throws:
QueryEvaluationException
evaluate
public void evaluate(TupleQueryResultHandler handler)
throws QueryEvaluationException,
TupleQueryResultHandlerException
- Specified by:
evaluate in interface TupleQuery
- Throws:
QueryEvaluationException
TupleQueryResultHandlerException
getAccept
protected String getAccept()
- Specified by:
getAccept in class SPARQLQuery
Copyright © 2001-2012 Aduna. All Rights Reserved.