public interface IRemoteRepository
Modifier and Type | Interface and Description |
---|---|
static interface |
IRemoteRepository.AddOp
This class will have a number of different ctors:
AddOp(InputStream in, String baseURI, RDFFormat format)
AddOp(Iterable
AddOp(URL url, String baseURI, RDFFormat format)
|
static interface |
IRemoteRepository.BooleanQuery |
static interface |
IRemoteRepository.GraphQuery |
static interface |
IRemoteRepository.Query
A prepared query will hold metadata for a particular query instance.
|
static interface |
IRemoteRepository.RemoveOp
This class will have a number of different ctors:
RemoveOp(InputStream in, String baseURI, RDFFormat format)
RemoveOp(Iterable
RemoveOp(URI s, URI p, Value o, URI c)
RemoveOp(String sparqlQuery)
|
static interface |
IRemoteRepository.TupleQuery |
Modifier and Type | Method and Description |
---|---|
void |
add(IRemoteRepository.AddOp add)
Adds RDF data to the remote repository.
|
void |
cancel(UUID queryID)
Cancel a query running remotely on the server.
|
IRemoteRepository.BooleanQuery |
prepareBooleanQuery(String query)
Prepare a boolean (ask) query.
|
IRemoteRepository.GraphQuery |
prepareGraphQuery(String query)
Prepare a graph query.
|
IRemoteRepository.TupleQuery |
prepareTupleQuery(String query)
Prepare a tuple (select) query.
|
long |
rangeCount(org.openrdf.model.URI s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.URI c)
Perform a fast range count on the statement indices for a given
triple (quad) pattern.
|
void |
remove(IRemoteRepository.RemoveOp remove)
Removes RDF data from the remote repository.
|
void |
update(IRemoteRepository.RemoveOp remove,
IRemoteRepository.AddOp add)
Perform an ACID update (delete+insert) per the semantics of
the NanoSparqlServer.
|
IRemoteRepository.TupleQuery prepareTupleQuery(String query) throws Exception
query
- the query stringIRemoteRepository.TupleQuery
Exception
IRemoteRepository.GraphQuery prepareGraphQuery(String query) throws Exception
query
- the query stringIRemoteRepository.GraphQuery
Exception
IRemoteRepository.BooleanQuery prepareBooleanQuery(String query) throws Exception
query
- the query stringIRemoteRepository.BooleanQuery
Exception
void cancel(UUID queryID) throws Exception
queryID
- the UUID of the query to cancelException
long rangeCount(org.openrdf.model.URI s, org.openrdf.model.URI p, org.openrdf.model.Value o, org.openrdf.model.URI c) throws Exception
s
- the subject (can be null)p
- the predicate (can be null)o
- the object (can be null)c
- the context (can be null)Exception
void add(IRemoteRepository.AddOp add) throws Exception
add
- The RDF data to be added.Exception
void remove(IRemoteRepository.RemoveOp remove) throws Exception
remove
- The RDF data to be removed.Exception
void update(IRemoteRepository.RemoveOp remove, IRemoteRepository.AddOp add) throws Exception
remove
- The RDF data to be removed.add
- The RDF data to be added.Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.