org.openrdf.repository.http
Class HTTPQuery
java.lang.Object
org.openrdf.query.impl.AbstractOperation
org.openrdf.query.impl.AbstractQuery
org.openrdf.repository.http.HTTPQuery
- All Implemented Interfaces:
- Operation, Query
- Direct Known Subclasses:
- HTTPBooleanQuery, HTTPGraphQuery, HTTPTupleQuery
public abstract class HTTPQuery
- extends AbstractQuery
- Author:
- Arjohn Kampman
httpCon
protected final org.openrdf.repository.http.HTTPRepositoryConnection httpCon
queryLanguage
protected final QueryLanguage queryLanguage
queryString
protected final String queryString
baseURI
protected final String baseURI
HTTPQuery
public HTTPQuery(org.openrdf.repository.http.HTTPRepositoryConnection con,
QueryLanguage ql,
String queryString,
String baseURI)
getBindingsArray
protected Binding[] getBindingsArray()
setMaxQueryTime
public void setMaxQueryTime(int maxQueryTime)
- Description copied from interface:
Query
- Specifies the maximum time that a query is allowed to run. The query will
be interrupted when it exceeds the time limit. Any consecutive requests to
fetch query results will result in
QueryInterruptedExceptions.
- Specified by:
setMaxQueryTime in interface Query- Overrides:
setMaxQueryTime in class AbstractQuery
- Parameters:
maxQueryTime - The maximum query time, measured in seconds. A negative or zero
value indicates an unlimited query time (which is the default).
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2012 Aduna. All Rights Reserved.