public class DatasetRepositoryConnection extends RepositoryConnectionWrapper
logger
Constructor and Description |
---|
DatasetRepositoryConnection(DatasetRepository repository,
SailRepositoryConnection delegate) |
Modifier and Type | Method and Description |
---|---|
BooleanQuery |
prepareBooleanQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares queries that return true or false.
|
GraphQuery |
prepareGraphQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares queries that produce RDF graphs.
|
Query |
prepareQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query for evaluation on this repository (optional operation).
|
TupleQuery |
prepareTupleQuery(QueryLanguage ql,
String query,
String baseURI)
Prepares a query that produces sets of value tuples.
|
add, add, add, add, add, add, add, add, addWithoutCommit, begin, begin, clear, clearNamespaces, close, commit, exportStatements, exportStatements, getContextIDs, getDelegate, getIsolationLevel, getNamespace, getNamespaces, getStatements, hasStatement, hasStatement, isActive, isAutoCommit, isDelegatingAdd, isDelegatingRead, isDelegatingRemove, isEmpty, isOpen, prepareUpdate, remove, remove, remove, remove, removeNamespace, removeWithoutCommit, rollback, setAutoCommit, setDelegate, setIsolationLevel, setNamespace, setParserConfig, size
addWithoutCommit, conditionalCommit, conditionalRollback, export, getParserConfig, getRepository, getValueFactory, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, prepareUpdate, removeWithoutCommit, startLocalTransaction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, export, getParserConfig, getRepository, getStatements, getStatements, getValueFactory, hasStatement, prepareBooleanQuery, prepareBooleanQuery, prepareGraphQuery, prepareGraphQuery, prepareQuery, prepareQuery, prepareTupleQuery, prepareTupleQuery, prepareUpdate, prepareUpdate, remove
public DatasetRepositoryConnection(DatasetRepository repository, SailRepositoryConnection delegate)
public BooleanQuery prepareBooleanQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnection
prepareBooleanQuery
in interface RepositoryConnection
prepareBooleanQuery
in class RepositoryConnectionWrapper
ql
- The query language
in which the query is formulated.query
- The query string.baseURI
- The base URI to resolve any relative URIs that are in the query against, can be null if
the query does not contain any relative URIs.BooleanQuery
ready to be evaluated on this RepositoryConnection
.MalformedQueryException
- If the supplied query is malformed.RepositoryException
public GraphQuery prepareGraphQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnection
prepareGraphQuery
in interface RepositoryConnection
prepareGraphQuery
in class RepositoryConnectionWrapper
ql
- The query language
in which the query is formulated.query
- The query string.baseURI
- The base URI to resolve any relative URIs that are in the query against, can be null if
the query does not contain any relative URIs.GraphQuery
ready to be evaluated on this RepositoryConnection
.MalformedQueryException
- If the supplied query is malformed.RepositoryException
public Query prepareQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnection
prepareQuery
in interface RepositoryConnection
prepareQuery
in class RepositoryConnectionWrapper
ql
- The query language
in which the query is formulated.query
- The query string.baseURI
- The base URI to resolve any relative URIs that are in the query against, can be null if
the query does not contain any relative URIs.MalformedQueryException
- If the supplied query is malformed.RepositoryException
public TupleQuery prepareTupleQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnection
prepareTupleQuery
in interface RepositoryConnection
prepareTupleQuery
in class RepositoryConnectionWrapper
ql
- The query language
in which the query is formulated.query
- The query string.baseURI
- The base URI to resolve any relative URIs that are in the query against, can be null if
the query does not contain any relative URIs.TupleQuery
ready to be evaluated on this RepositoryConnection
.MalformedQueryException
- If the supplied query is malformed.RepositoryException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.