org.openrdf.repository.http
Class HTTPBooleanQuery

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

public class HTTPBooleanQuery
extends HTTPQuery
implements BooleanQuery

TupleQuery specific to the HTTP protocol. Methods in this class may throw the specific RepositoryException subclasses UnautorizedException and NotAllowedException, the semantics of which are defined by the HTTP protocol.

Author:
Arjohn Kampman
See Also:
UnauthorizedException, org.openrdf.http.protocol.NotAllowedException

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
 
Constructor Summary
HTTPBooleanQuery(org.openrdf.repository.http.HTTPRepositoryConnection con, QueryLanguage ql, String queryString, String baseURI)
           
 
Method Summary
 boolean evaluate()
           
 
Methods inherited from class org.openrdf.repository.http.HTTPQuery
getBindingsArray, toString
 
Methods inherited from class org.openrdf.query.impl.AbstractQuery
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
getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
 

Constructor Detail

HTTPBooleanQuery

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

evaluate

public boolean evaluate()
                 throws HTTPQueryEvaluationException
Specified by:
evaluate in interface BooleanQuery
Throws:
HTTPQueryEvaluationException


Copyright © 2001-2007 Aduna. All Rights Reserved.