public abstract class AbstractHTTPQuery extends AbstractQuery
Query operation over HTTP.Query.QueryType| 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 maxExecutionTimeSeconds)
Specifies the maximum time that an operation is allowed to run.
|
String |
toString() |
getMaxQueryTime, setMaxQueryTimeclearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferredclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferredprotected 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 maxExecutionTimeSeconds)
OperationQueryInterruptedExceptions
or UpdateExecutionExceptions (depending on whether the operation is a query or an update).setMaxExecutionTime in interface OperationsetMaxExecutionTime in class AbstractOperationmaxExecutionTimeSeconds - The maximum query time, measured in seconds. A negative or zero value indicates an
unlimited execution time (which is the default).Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.