Class SPARQLOperation
- java.lang.Object
-
- org.eclipse.rdf4j.repository.sparql.query.SPARQLOperation
-
-
Field Summary
Fields Modifier and Type Field Description protected MapBindingSetbindingsDeprecated.protected org.apache.http.client.HttpClientclientDeprecated.protected DatasetdatasetDeprecated.private static java.util.concurrent.ExecutorexecutorDeprecated.private java.lang.StringoperationDeprecated.private java.lang.StringurlDeprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSPARQLOperation(org.apache.http.client.HttpClient client, java.lang.String url, java.lang.String base, java.lang.String operation)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private java.lang.StringBuilderappendValue(java.lang.StringBuilder sb, IRI uri)Deprecated.private java.lang.StringBuilderappendValue(java.lang.StringBuilder sb, Literal lit)Deprecated.voidclearBindings()Deprecated.Removes all previously set bindings.protected voidexecute(java.lang.Runnable command)Deprecated.protected java.util.Set<java.lang.String>getBindingNames()Deprecated.BindingSetgetBindings()Deprecated.Retrieves the bindings that have been set on this operation.DatasetgetDataset()Deprecated.Gets the dataset that has been set usingOperation.setDataset(Dataset), if any.booleangetIncludeInferred()Deprecated.Returns whether or not this operation will return inferred statements (if any are present in the repository).protected java.lang.StringgetQueryString()Deprecated.private java.lang.StringgetReplacement(Value value)Deprecated.java.lang.StringgetUrl()Deprecated.voidremoveBinding(java.lang.String name)Deprecated.Removes a previously set binding on the supplied variable.voidsetBinding(java.lang.String name, Value value)Deprecated.Binds the specified variable to the supplied value.voidsetDataset(Dataset dataset)Deprecated.Specifies the dataset against which to execute an operation, overriding any dataset that is specified in the operation itself.voidsetIncludeInferred(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 Detail
-
executor
private static final java.util.concurrent.Executor executor
Deprecated.
-
client
protected org.apache.http.client.HttpClient client
Deprecated.
-
url
private final java.lang.String url
Deprecated.
-
dataset
protected Dataset dataset
Deprecated.
-
operation
private java.lang.String operation
Deprecated.
-
bindings
protected MapBindingSet bindings
Deprecated.
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Deprecated.
-
getBindings
public BindingSet getBindings()
Deprecated.Description copied from interface:OperationRetrieves the bindings that have been set on this operation.- Specified by:
getBindingsin interfaceOperation- Returns:
- A (possibly empty) set of operation variable bindings.
- See Also:
Operation.setBinding(String, Value)
-
getDataset
public Dataset getDataset()
Deprecated.Description copied from interface:OperationGets the dataset that has been set usingOperation.setDataset(Dataset), if any.- Specified by:
getDatasetin interfaceOperation
-
getIncludeInferred
public boolean getIncludeInferred()
Deprecated.Description copied from interface:OperationReturns whether or not this operation will return inferred statements (if any are present in the repository).- Specified by:
getIncludeInferredin interfaceOperation- Returns:
- true if inferred statements will be returned, false otherwise.
-
removeBinding
public void removeBinding(java.lang.String name)
Deprecated.Description copied from interface:OperationRemoves a previously set binding on the supplied variable. Calling this method with an unbound variable name has no effect.- Specified by:
removeBindingin interfaceOperation- Parameters:
name- The name of the variable from which the binding is to be removed.
-
setBinding
public void setBinding(java.lang.String name, Value value)Deprecated.Description copied from interface:OperationBinds the specified variable to the supplied value. Any value that was previously bound to the specified value will be overwritten.- Specified by:
setBindingin 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:OperationRemoves all previously set bindings.- Specified by:
clearBindingsin interfaceOperation
-
setDataset
public void setDataset(Dataset dataset)
Deprecated.Description copied from interface:OperationSpecifies the dataset against which to execute an operation, overriding any dataset that is specified in the operation itself.- Specified by:
setDatasetin interfaceOperation
-
setIncludeInferred
public void setIncludeInferred(boolean inf)
Deprecated.Description copied from interface:OperationDetermine 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:
setIncludeInferredin interfaceOperation- Parameters:
inf- indicates whether inferred statements should be included in the result.
-
execute
protected void execute(java.lang.Runnable command)
Deprecated.
-
getBindingNames
protected java.util.Set<java.lang.String> getBindingNames()
Deprecated.
-
getQueryString
protected java.lang.String getQueryString()
Deprecated.
-
getReplacement
private java.lang.String getReplacement(Value value)
Deprecated.
-
appendValue
private java.lang.StringBuilder appendValue(java.lang.StringBuilder sb, IRI uri)Deprecated.
-
appendValue
private java.lang.StringBuilder appendValue(java.lang.StringBuilder sb, Literal lit)Deprecated.
-
-