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
Constructor and Description |
---|
AbstractHTTPQuery(SparqlSession httpClient,
QueryLanguage queryLanguage,
String queryString,
String baseURI) |
Modifier and Type | Method and Description |
---|---|
Binding[] |
getBindingsArray() |
protected SparqlSession |
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
public AbstractHTTPQuery(SparqlSession httpClient, QueryLanguage queryLanguage, String queryString, String baseURI)
protected SparqlSession getHttpClient()
SparqlSession
to be used for all HTTP based
interactionpublic Binding[] getBindingsArray()
public void setMaxExecutionTime(int maxExecutionTime)
Operation
QueryInterruptedException
s or UpdateInterruptedException
s
(depending on whether the operation is a query or an update).setMaxExecutionTime
in interface Operation
setMaxExecutionTime
in class AbstractOperation
Copyright © 2001–2016 Aduna. All rights reserved.