|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.impl.AbstractOperation
public abstract class AbstractOperation
Abstract super class of all operation types.
| Field Summary | |
|---|---|
protected MapBindingSet |
bindings
|
protected Dataset |
dataset
|
protected boolean |
includeInferred
|
| Constructor Summary | |
|---|---|
protected |
AbstractOperation()
Creates a new operation object. |
| Method Summary | |
|---|---|
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 Operation.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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final MapBindingSet bindings
protected Dataset dataset
protected boolean includeInferred
| Constructor Detail |
|---|
protected AbstractOperation()
| Method Detail |
|---|
public void setBinding(String name,
Value value)
Operation
setBinding in interface Operationname - The name of the variable that should be bound.value - The (new) value for the specified variable.public void removeBinding(String name)
Operation
removeBinding in interface Operationname - The name of the variable from which the binding is to be removed.public void clearBindings()
Operation
clearBindings in interface Operationpublic BindingSet getBindings()
Operation
getBindings in interface OperationOperation.setBinding(String, Value)public void setDataset(Dataset dataset)
Operation
setDataset in interface Operationpublic Dataset getDataset()
OperationOperation.setDataset(Dataset), if
any.
getDataset in interface Operationpublic void setIncludeInferred(boolean includeInferred)
Operation
setIncludeInferred in interface OperationincludeInferred - indicates whether inferred statements should be included in the
result.public boolean getIncludeInferred()
Operation
getIncludeInferred in interface Operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||