org.openrdf.repository.sparql.query
Class SPARQLGraphQuery

java.lang.Object
  extended by org.openrdf.repository.sparql.query.SPARQLQuery
      extended by org.openrdf.repository.sparql.query.SPARQLGraphQuery
All Implemented Interfaces:
GraphQuery, Operation, Query

public class SPARQLGraphQuery
extends SPARQLQuery
implements GraphQuery

Parses RDF results in the background.

Author:
James Leigh

Constructor Summary
SPARQLGraphQuery(org.apache.commons.httpclient.HttpClient client, String url, String base, String query)
           
 
Method Summary
 GraphQueryResult evaluate()
           
 void evaluate(RDFHandler handler)
           
protected  String getAccept()
           
 
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
 
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

SPARQLGraphQuery

public SPARQLGraphQuery(org.apache.commons.httpclient.HttpClient client,
                        String url,
                        String base,
                        String query)
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

getAccept

protected String getAccept()
Specified by:
getAccept in class SPARQLQuery


Copyright © 2001-2012 Aduna. All Rights Reserved.