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 |
bindings, dataset, includeInferred
Modifier | Constructor and Description |
---|---|
protected |
AbstractHTTPQuery(SPARQLProtocolSession httpClient,
QueryLanguage queryLanguage,
String queryString,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
Binding[] |
getBindingsArray() |
protected SPARQLProtocolSession |
getHttpClient() |
void |
setMaxExecutionTime(int maxExecutionTime)
Specifies the maximum time that an operation is allowed to run.
|
String |
toString() |
getMaxQueryTime, setMaxQueryTime
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred
protected final QueryLanguage queryLanguage
protected final String queryString
protected final String baseURI
protected AbstractHTTPQuery(SPARQLProtocolSession httpClient, QueryLanguage queryLanguage, String queryString, String baseURI)
protected SPARQLProtocolSession getHttpClient()
SPARQLProtocolSession
to be used for all HTTP based interactionpublic Binding[] getBindingsArray()
public void setMaxExecutionTime(int maxExecutionTime)
Operation
QueryInterruptedException
s
or UpdateExecutionException
s (depending on whether the operation is a query or an update).setMaxExecutionTime
in interface Operation
setMaxExecutionTime
in class AbstractOperation
maxExecutionTime
- The maximum query time, measured in seconds. A negative or zero value indicates an unlimited
execution time (which is the default).Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.