Operation.Count, Operation.Create, Operation.Delete, Operation.Download, Operation.Match, Operation.Merge, Operation.Retrieve, Operation.Sparql, Operation.SparqlDelete, Operation.SparqlUpdate, Operation.Update, Operation.Upload
Modifier | Constructor and Description |
---|---|
protected |
Update(Map<String,String> namespaces,
org.openrdf.model.URI type) |
Modifier and Type | Method and Description |
---|---|
Operation.Update |
condition(String condition,
Object... arguments) |
Operation.Update |
condition(org.openrdf.model.URI property,
Object... allowedValues) |
Operation.Update |
conditions(Iterable<? extends XPath> conditions) |
Operation.Update |
conditions(XPath... conditions) |
Operation.Update |
criteria(Criteria... criteria) |
Operation.Update |
criteria(Iterable<? extends Criteria> criteria) |
Operation.Update |
criteria(String criteria) |
protected abstract Outcome |
doExec(Long timeout,
org.openrdf.model.URI type,
XPath condition,
Set<org.openrdf.model.URI> ids,
Record record,
Criteria criteria,
Handler<? super Outcome> handler) |
Outcome |
exec() |
Outcome |
exec(Collection<? super Outcome> collection) |
Outcome |
exec(Handler<? super Outcome> handler) |
Operation.Update |
ids(Iterable<? extends org.openrdf.model.URI> ids) |
Operation.Update |
ids(org.openrdf.model.URI... ids) |
Operation.Update |
namespaces(Map<String,String> namespaces)
Sets the optional namespaces for this operation.
|
Operation.Update |
record(Record record) |
Operation.Update |
timeout(Long timeout)
Sets the optional timeout for this operation in milliseconds.
|
public Operation.Update timeout(@Nullable Long timeout)
Operation
public Operation.Update namespaces(@Nullable Map<String,String> namespaces)
Operation
Session
. Passing null will remove any namespace map
previously set on the operation.namespaces
in class Operation
namespaces
- the namespace map overriding session namespaces; null to resetpublic final Operation.Update conditions(@Nullable XPath... conditions)
public final Operation.Update conditions(@Nullable Iterable<? extends XPath> conditions)
public final Operation.Update condition(String condition, Object... arguments) throws ParseException
ParseException
public final Operation.Update condition(org.openrdf.model.URI property, Object... allowedValues)
public final Operation.Update ids(@Nullable org.openrdf.model.URI... ids)
public final Operation.Update ids(@Nullable Iterable<? extends org.openrdf.model.URI> ids)
public final Operation.Update record(@Nullable Record record)
public final Operation.Update criteria(@Nullable Criteria... criteria)
public final Operation.Update criteria(@Nullable Iterable<? extends Criteria> criteria)
public final Operation.Update criteria(@Nullable String criteria) throws ParseException
ParseException
public final Outcome exec() throws OperationException
OperationException
public final Outcome exec(@Nullable Handler<? super Outcome> handler) throws OperationException
OperationException
public final Outcome exec(@Nullable Collection<? super Outcome> collection) throws OperationException
OperationException
protected abstract Outcome doExec(@Nullable Long timeout, org.openrdf.model.URI type, @Nullable XPath condition, @Nullable Set<org.openrdf.model.URI> ids, @Nullable Record record, @Nullable Criteria criteria, @Nullable Handler<? super Outcome> handler) throws OperationException
OperationException
Copyright © 2015–2016 FBK-irst. All rights reserved.