AbstractHTTPQuery
@Deprecated public abstract class SPARQLQuery extends SPARQLOperation implements Query
AbstractHTTPQuery
Modifier and Type | Field and Description |
---|---|
protected int |
maxQueryTime
Deprecated.
|
bindings, client, dataset
Constructor and Description |
---|
SPARQLQuery(org.apache.commons.httpclient.HttpClient client,
String url,
String base,
String operation)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getAccept()
Deprecated.
|
int |
getMaxQueryTime()
Deprecated.
Returns the maximum query evaluation time.
|
protected org.apache.commons.httpclient.HttpMethodBase |
getResponse()
Deprecated.
|
void |
setMaxQueryTime(int maxQueryTime)
Deprecated.
Specifies the maximum time that a query is allowed to run.
|
clearBindings, execute, getBindingNames, getBindings, getDataset, getIncludeInferred, getQueryString, getUrl, removeBinding, setBinding, setDataset, setIncludeInferred
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
public int getMaxQueryTime()
Query
getMaxQueryTime
in interface Query
Query.setMaxQueryTime(int)
public void setMaxQueryTime(int maxQueryTime)
Query
QueryInterruptedException
s.setMaxQueryTime
in interface Query
maxQueryTime
- The maximum query time, measured in seconds. A negative or zero
value indicates an unlimited query time (which is the default).protected abstract String getAccept()
protected org.apache.commons.httpclient.HttpMethodBase getResponse() throws org.apache.commons.httpclient.HttpException, IOException, QueryEvaluationException
org.apache.commons.httpclient.HttpException
IOException
QueryEvaluationException
Copyright © 2001-2016 Aduna. All Rights Reserved.