org.openrdf.repository.http
Class HTTPGraphQuery

java.lang.Object
  extended by org.openrdf.query.impl.AbstractOperation
      extended by org.openrdf.query.impl.AbstractQuery
          extended by org.openrdf.repository.http.HTTPQuery
              extended by org.openrdf.repository.http.HTTPGraphQuery
All Implemented Interfaces:
GraphQuery, Operation, Query

public class HTTPGraphQuery
extends HTTPQuery
implements GraphQuery

GraphQuery implementation 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
maxQueryTime
 
Fields inherited from class org.openrdf.query.impl.AbstractOperation
bindings, dataset, includeInferred
 
Constructor Summary
HTTPGraphQuery(org.openrdf.repository.http.HTTPRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
           
 
Method Summary
 GraphQueryResult evaluate()
           
 void evaluate(RDFHandler handler)
           
 
Methods inherited from class org.openrdf.repository.http.HTTPQuery
getBindingsArray, toString
 
Methods inherited from class org.openrdf.query.impl.AbstractQuery
getMaxQueryTime, setMaxQueryTime
 
Methods inherited from class org.openrdf.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
 
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
getMaxQueryTime, setMaxQueryTime
 
Methods inherited from interface org.openrdf.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
 

Constructor Detail

HTTPGraphQuery

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

evaluate

public GraphQueryResult evaluate()
                          throws QueryEvaluationException
Specified by:
evaluate in interface GraphQuery
Throws:
QueryEvaluationException

evaluate

public void evaluate(RDFHandler handler)
              throws QueryEvaluationException,
                     RDFHandlerException
Specified by:
evaluate in interface GraphQuery
Throws:
QueryEvaluationException
RDFHandlerException


Copyright © 2001-2012 Aduna. All Rights Reserved.