public abstract class AbstractHTTPQuery extends AbstractQuery
Query
operation over HTTP.Modifier and Type | Field and Description |
---|---|
protected String |
baseURI |
protected QueryLanguage |
queryLanguage |
protected String |
queryString |
maxQueryTime
bindings, dataset, includeInferred
Constructor and Description |
---|
AbstractHTTPQuery(HTTPClient httpClient,
QueryLanguage queryLanguage,
String queryString,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
Binding[] |
getBindingsArray() |
protected HTTPClient |
getHttpClient()
Return the
HTTPClient to be used for all HTTP based interaction |
void |
setMaxQueryTime(int maxQueryTime)
Specifies the maximum time that a query is allowed to run.
|
String |
toString() |
getMaxQueryTime
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearBindings, getBindings, getDataset, getIncludeInferred, removeBinding, setBinding, setDataset, setIncludeInferred
protected final QueryLanguage queryLanguage
protected final String queryString
protected final String baseURI
public AbstractHTTPQuery(HTTPClient httpClient, QueryLanguage queryLanguage, String queryString, String baseURI)
httpClient
- queryLanguage
- queryString
- baseURI
- protected HTTPClient getHttpClient()
HTTPClient
to be used for all HTTP based interactionpublic Binding[] getBindingsArray()
public void setMaxQueryTime(int maxQueryTime)
Query
QueryInterruptedException
s.setMaxQueryTime
in interface Query
setMaxQueryTime
in class AbstractQuery
maxQueryTime
- The maximum query time, measured in seconds. A negative or zero
value indicates an unlimited query time (which is the default).Copyright © 2001-2016 Aduna. All Rights Reserved.