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 |
Retrieve(Map<String,String> namespaces,
org.openrdf.model.URI type) |
Modifier and Type | Method and Description |
---|---|
Operation.Retrieve |
condition(String condition,
Object... arguments) |
Operation.Retrieve |
condition(org.openrdf.model.URI property,
Object... allowedValues) |
Operation.Retrieve |
conditions(Iterable<? extends XPath> conditions) |
Operation.Retrieve |
conditions(XPath... conditions) |
protected abstract Stream<Record> |
doExec(Long timeout,
org.openrdf.model.URI type,
XPath condition,
Set<org.openrdf.model.URI> ids,
Set<org.openrdf.model.URI> properties,
Long offset,
Long limit) |
Stream<Record> |
exec() |
Operation.Retrieve |
ids(Iterable<? extends org.openrdf.model.URI> ids) |
Operation.Retrieve |
ids(org.openrdf.model.URI... ids) |
Operation.Retrieve |
limit(Long limit) |
Operation.Retrieve |
namespaces(Map<String,String> namespaces)
Sets the optional namespaces for this operation.
|
Operation.Retrieve |
offset(Long offset) |
Operation.Retrieve |
properties(Iterable<? extends org.openrdf.model.URI> properties) |
Operation.Retrieve |
properties(org.openrdf.model.URI... properties) |
Operation.Retrieve |
timeout(Long timeout)
Sets the optional timeout for this operation in milliseconds.
|
public Operation.Retrieve timeout(@Nullable Long timeout)
Operation
public Operation.Retrieve 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.Retrieve conditions(@Nullable XPath... conditions)
public final Operation.Retrieve conditions(@Nullable Iterable<? extends XPath> conditions)
public final Operation.Retrieve condition(String condition, Object... arguments) throws ParseException
ParseException
public final Operation.Retrieve condition(org.openrdf.model.URI property, Object... allowedValues)
public final Operation.Retrieve ids(@Nullable org.openrdf.model.URI... ids)
public final Operation.Retrieve ids(@Nullable Iterable<? extends org.openrdf.model.URI> ids)
public final Operation.Retrieve properties(@Nullable org.openrdf.model.URI... properties)
public final Operation.Retrieve properties(@Nullable Iterable<? extends org.openrdf.model.URI> properties)
public final Operation.Retrieve offset(@Nullable Long offset)
public final Operation.Retrieve limit(@Nullable Long limit)
public final Stream<Record> exec() throws OperationException
OperationException
protected abstract Stream<Record> doExec(@Nullable Long timeout, org.openrdf.model.URI type, @Nullable XPath condition, @Nullable Set<org.openrdf.model.URI> ids, @Nullable Set<org.openrdf.model.URI> properties, @Nullable Long offset, @Nullable Long limit) throws OperationException
OperationException
Copyright © 2015–2016 FBK-irst. All rights reserved.