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 |
Create(Map<String,String> namespaces,
org.openrdf.model.URI type) |
Modifier and Type | Method and Description |
---|---|
protected abstract Outcome |
doExec(Long timeout,
org.openrdf.model.URI type,
Stream<? extends Record> records,
Handler<? super Outcome> handler) |
Outcome |
exec() |
Outcome |
exec(Collection<? super Outcome> collection) |
Outcome |
exec(Handler<? super Outcome> handler) |
Operation.Create |
namespaces(Map<String,String> namespaces)
Sets the optional namespaces for this operation.
|
Operation.Create |
records(Iterable<? extends Record> records) |
Operation.Create |
records(Record... records) |
Operation.Create |
timeout(Long timeout)
Sets the optional timeout for this operation in milliseconds.
|
public Operation.Create timeout(@Nullable Long timeout)
Operation
public Operation.Create 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.Create records(@Nullable Record... records)
public final Operation.Create records(@Nullable Iterable<? extends Record> records)
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
Copyright © 2015–2016 FBK-irst. All rights reserved.