public interface Operation
Modifier and Type | Method and Description |
---|---|
void |
clearBindings()
Removes all previously set bindings.
|
BindingSet |
getBindings()
Retrieves the bindings that have been set on this operation.
|
Dataset |
getDataset()
Gets the dataset that has been set using
setDataset(Dataset) , if
any. |
boolean |
getIncludeInferred()
Returns whether or not this operation will return inferred statements (if
any are present in the repository).
|
void |
removeBinding(String name)
Removes a previously set binding on the supplied variable.
|
void |
setBinding(String name,
Value value)
Binds the specified variable to the supplied value.
|
void |
setDataset(Dataset dataset)
Specifies the dataset against which to execute an operation, overriding
any dataset that is specified in the operation itself.
|
void |
setIncludeInferred(boolean includeInferred)
Determine whether evaluation results of this operation should include
inferred statements (if any inferred statements are present in the
repository).
|
void setBinding(String name, Value value)
name
- The name of the variable that should be bound.value
- The (new) value for the specified variable.void removeBinding(String name)
name
- The name of the variable from which the binding is to be removed.void clearBindings()
BindingSet getBindings()
setBinding(String, Value)
void setDataset(Dataset dataset)
Dataset getDataset()
setDataset(Dataset)
, if
any.void setIncludeInferred(boolean includeInferred)
includeInferred
- indicates whether inferred statements should be included in the
result.boolean getIncludeInferred()
Copyright © 2001-2016 Aduna. All Rights Reserved.