@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, wait
getMaxExecutionTime, setMaxExecutionTime
protected org.apache.http.client.HttpClient client
protected Dataset dataset
protected MapBindingSet bindings
public String getUrl()
public BindingSet getBindings()
Operation
getBindings
in interface Operation
Operation.setBinding(String, Value)
public Dataset getDataset()
Operation
Operation.setDataset(Dataset)
, if any.getDataset
in interface Operation
public boolean getIncludeInferred()
Operation
getIncludeInferred
in interface Operation
public void removeBinding(String name)
Operation
removeBinding
in interface Operation
name
- The name of the variable from which the binding is to be removed.public void setBinding(String name, Value value)
Operation
setBinding
in interface Operation
name
- The name of the variable that should be bound.value
- The (new) value for the specified variable.public void clearBindings()
Operation
clearBindings
in interface Operation
public void setDataset(Dataset dataset)
Operation
setDataset
in interface Operation
public void setIncludeInferred(boolean inf)
Operation
setIncludeInferred
in interface Operation
inf
- indicates whether inferred statements should be included in the result.protected void execute(Runnable command)
protected String getQueryString()
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.