Class SPARQLOperation
java.lang.Object
org.eclipse.rdf4j.repository.sparql.query.SPARQLOperation
- All Implemented Interfaces:
Operation
Deprecated.
- Author:
- jeen
-
Field Summary
Modifier and TypeFieldDescriptionprotected MapBindingSet
Deprecated.protected org.apache.http.client.HttpClient
Deprecated.protected Dataset
Deprecated. -
Constructor Summary
ModifierConstructorDescriptionprotected
SPARQLOperation
(org.apache.http.client.HttpClient client, String url, String base, String operation) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Removes all previously set bindings.protected void
Deprecated.Deprecated.Deprecated.Retrieves the bindings that have been set on this operation.Deprecated.Gets the dataset that has been set usingOperation.setDataset(Dataset)
, if any.boolean
Deprecated.Returns whether or not this operation will return inferred statements (if any are present in the repository).protected String
Deprecated.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).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.query.Operation
getMaxExecutionTime, setMaxExecutionTime
-
Field Details
-
client
protected org.apache.http.client.HttpClient clientDeprecated. -
dataset
Deprecated. -
bindings
Deprecated.
-
-
Constructor Details
-
Method Details
-
getUrl
Deprecated. -
getBindings
Deprecated.Description copied from interface:Operation
Retrieves the bindings that have been set on this operation.- Specified by:
getBindings
in interfaceOperation
- Returns:
- A (possibly empty) set of operation variable bindings.
- See Also:
-
getDataset
Deprecated.Description copied from interface:Operation
Gets the dataset that has been set usingOperation.setDataset(Dataset)
, if any.- Specified by:
getDataset
in interfaceOperation
-
getIncludeInferred
public boolean getIncludeInferred()Deprecated.Description copied from interface:Operation
Returns whether or not this operation will return inferred statements (if any are present in the repository).- Specified by:
getIncludeInferred
in interfaceOperation
- Returns:
- true if inferred statements will be returned, false otherwise.
-
removeBinding
Deprecated.Description copied from interface:Operation
Removes a previously set binding on the supplied variable. Calling this method with an unbound variable name has no effect.- Specified by:
removeBinding
in interfaceOperation
- Parameters:
name
- The name of the variable from which the binding is to be removed.
-
setBinding
Deprecated.Description copied from interface:Operation
Binds the specified variable to the supplied value. Any value that was previously bound to the specified value will be overwritten.- Specified by:
setBinding
in interfaceOperation
- Parameters:
name
- The name of the variable that should be bound.value
- The (new) value for the specified variable.
-
clearBindings
public void clearBindings()Deprecated.Description copied from interface:Operation
Removes all previously set bindings.- Specified by:
clearBindings
in interfaceOperation
-
setDataset
Deprecated.Description copied from interface:Operation
Specifies the dataset against which to execute an operation, overriding any dataset that is specified in the operation itself.- Specified by:
setDataset
in interfaceOperation
-
setIncludeInferred
public void setIncludeInferred(boolean inf) Deprecated.Description copied from interface:Operation
Determine whether evaluation results of this operation should include inferred statements (if any inferred statements are present in the repository). The default setting is 'true'.- Specified by:
setIncludeInferred
in interfaceOperation
- Parameters:
inf
- indicates whether inferred statements should be included in the result.
-
execute
Deprecated. -
getBindingNames
Deprecated. -
getQueryString
Deprecated.
-