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 true/false queries.
|
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, sizeaddWithoutCommit, conditionalCommit, conditionalRollback, export, getParserConfig, getRepository, getValueFactory, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, prepareUpdate, removeWithoutCommit, startLocalTransactionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexport, getParserConfig, getRepository, getValueFactory, prepareBooleanQuery, prepareGraphQuery, prepareQuery, prepareTupleQuery, prepareUpdatepublic DatasetRepositoryConnection(DatasetRepository repository, SailRepositoryConnection delegate)
public BooleanQuery prepareBooleanQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnectionprepareBooleanQuery in interface RepositoryConnectionprepareBooleanQuery in class RepositoryConnectionWrapperql - 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.RepositoryExceptionpublic GraphQuery prepareGraphQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnectionprepareGraphQuery in interface RepositoryConnectionprepareGraphQuery in class RepositoryConnectionWrapperql - 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.RepositoryExceptionpublic Query prepareQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnectionprepareQuery in interface RepositoryConnectionprepareQuery in class RepositoryConnectionWrapperql - 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.RepositoryExceptionpublic TupleQuery prepareTupleQuery(QueryLanguage ql, String query, String baseURI) throws MalformedQueryException, RepositoryException
RepositoryConnectionprepareTupleQuery in interface RepositoryConnectionprepareTupleQuery in class RepositoryConnectionWrapperql - 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.RepositoryExceptionCopyright © 2001–2015 Aduna. All rights reserved.