@Deprecated public abstract class SPARQLOperation extends Object implements Operation
| Modifier and Type | Field and Description |
|---|---|
protected MapBindingSet |
bindings
Deprecated.
|
protected org.apache.http.client.HttpClient |
client
Deprecated.
|
protected Dataset |
dataset
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SPARQLOperation(org.apache.http.client.HttpClient client,
String url,
String base,
String operation)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBindings()
Deprecated.
Removes all previously set bindings.
|
protected void |
execute(Runnable command)
Deprecated.
|
protected Set<String> |
getBindingNames()
Deprecated.
|
BindingSet |
getBindings()
Deprecated.
Retrieves the bindings that have been set on this operation.
|
Dataset |
getDataset()
Deprecated.
Gets the dataset that has been set using
Operation.setDataset(Dataset), if any. |
boolean |
getIncludeInferred()
Deprecated.
Returns whether or not this operation will return inferred statements (if any are present in the repository).
|
protected String |
getQueryString()
Deprecated.
|
String |
getUrl()
Deprecated.
|
void |
removeBinding(String name)
Deprecated.
Removes a previously set binding on the supplied variable.
|
void |
setBinding(String name,
Value value)
Deprecated.
Binds the specified variable to the supplied value.
|
void |
setDataset(Dataset dataset)
Deprecated.
Specifies the dataset against which to execute an operation, overriding any dataset that is specified in the
operation itself.
|
void |
setIncludeInferred(boolean inf)
Deprecated.
Determine whether evaluation results of this operation should include inferred statements (if any inferred
statements are present in the repository).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxExecutionTime, setMaxExecutionTimeprotected org.apache.http.client.HttpClient client
protected Dataset dataset
protected MapBindingSet bindings
public String getUrl()
public BindingSet getBindings()
OperationgetBindings in interface OperationOperation.setBinding(String, Value)public Dataset getDataset()
OperationOperation.setDataset(Dataset), if any.getDataset in interface Operationpublic boolean getIncludeInferred()
OperationgetIncludeInferred in interface Operationpublic void removeBinding(String name)
OperationremoveBinding in interface Operationname - The name of the variable from which the binding is to be removed.public void setBinding(String name, Value value)
OperationsetBinding in interface Operationname - The name of the variable that should be bound.value - The (new) value for the specified variable.public void clearBindings()
OperationclearBindings in interface Operationpublic void setDataset(Dataset dataset)
OperationsetDataset in interface Operationpublic void setIncludeInferred(boolean inf)
OperationsetIncludeInferred in interface Operationinf - indicates whether inferred statements should be included in the result.protected void execute(Runnable command)
protected String getQueryString()
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.