org.openrdf.repository.http
Class HTTPTupleQuery

java.lang.Object
  extended by org.openrdf.query.impl.AbstractQuery
      extended by org.openrdf.repository.http.HTTPQuery
          extended by org.openrdf.repository.http.HTTPTupleQuery
All Implemented Interfaces:
Query, TupleQuery

public class HTTPTupleQuery
extends HTTPQuery
implements TupleQuery

TupleQuery specific to the HTTP protocol. Methods in this class may throw the specific RepositoryException subclass UnautorizedException, the semantics of which is defined by the HTTP protocol.

Author:
Arjohn Kampman, Herko ter Horst
See Also:
UnauthorizedException

Field Summary
 
Fields inherited from class org.openrdf.repository.http.HTTPQuery
baseURI, httpCon, queryLanguage, queryString
 
Fields inherited from class org.openrdf.query.impl.AbstractQuery
bindings, dataset, includeInferred, maxQueryTime
 
Constructor Summary
HTTPTupleQuery(org.openrdf.repository.http.HTTPRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
           
 
Method Summary
 TupleQueryResult evaluate()
           
 void evaluate(TupleQueryResultHandler handler)
           
 
Methods inherited from class org.openrdf.repository.http.HTTPQuery
getBindingsArray, toString
 
Methods inherited from class org.openrdf.query.impl.AbstractQuery
getBindings, getDataset, getIncludeInferred, getMaxQueryTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxQueryTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openrdf.query.Query
getBindings, getDataset, getIncludeInferred, getMaxQueryTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxQueryTime
 

Constructor Detail

HTTPTupleQuery

public HTTPTupleQuery(org.openrdf.repository.http.HTTPRepositoryConnection con,
                      QueryLanguage ql,
                      String queryString,
                      String baseURI)
Method Detail

evaluate

public TupleQueryResult evaluate()
                          throws HTTPQueryEvaluationException
Specified by:
evaluate in interface TupleQuery
Throws:
HTTPQueryEvaluationException

evaluate

public void evaluate(TupleQueryResultHandler handler)
              throws QueryEvaluationException,
                     TupleQueryResultHandlerException
Specified by:
evaluate in interface TupleQuery
Throws:
QueryEvaluationException
TupleQueryResultHandlerException


Copyright © 2001-2009 Aduna. All Rights Reserved.