Uses of Interface
org.eclipse.rdf4j.repository.RepositoryConnection
-
Packages that use RepositoryConnection Package Description org.eclipse.rdf4j.repository The Repository API: the main API for accessing rdf databases and SPARQL endpoints.org.eclipse.rdf4j.repository.base Abstract base classes and wrappers for the main Repository API interfaces.org.eclipse.rdf4j.repository.config Repository configuration interfaces.org.eclipse.rdf4j.repository.filters org.eclipse.rdf4j.repository.util Helper classes for working with Repositories. -
-
Uses of RepositoryConnection in org.eclipse.rdf4j.repository
Subinterfaces of RepositoryConnection in org.eclipse.rdf4j.repository Modifier and Type Interface Description interfaceDelegatingRepositoryConnectionMethods in org.eclipse.rdf4j.repository that return RepositoryConnection Modifier and Type Method Description RepositoryConnectionRepository. getConnection()Opens a connection to this repository that can be used for querying and updating the contents of the repository.RepositoryConnectionDelegatingRepositoryConnection. getDelegate()Methods in org.eclipse.rdf4j.repository with parameters of type RepositoryConnection Modifier and Type Method Description voidDelegatingRepositoryConnection. setDelegate(RepositoryConnection delegate) -
Uses of RepositoryConnection in org.eclipse.rdf4j.repository.base
Classes in org.eclipse.rdf4j.repository.base that implement RepositoryConnection Modifier and Type Class Description classAbstractRepositoryConnectionAbstract class implementing most 'convenience' methods in theRepositoryConnectioninterface by transforming parameters and mapping the methods to the basic (abstractly declared) methods.classRepositoryConnectionWrapperDelegates all calls to the delegate RepositoryConnection.Methods in org.eclipse.rdf4j.repository.base that return RepositoryConnection Modifier and Type Method Description RepositoryConnectionRepositoryWrapper. getConnection()RepositoryConnectionRepositoryConnectionWrapper. getDelegate()Methods in org.eclipse.rdf4j.repository.base with parameters of type RepositoryConnection Modifier and Type Method Description voidRepositoryConnectionWrapper. setDelegate(RepositoryConnection delegate)Constructors in org.eclipse.rdf4j.repository.base with parameters of type RepositoryConnection Constructor Description RepositoryConnectionWrapper(Repository repository, RepositoryConnection delegate) -
Uses of RepositoryConnection in org.eclipse.rdf4j.repository.config
Methods in org.eclipse.rdf4j.repository.config with parameters of type RepositoryConnection Modifier and Type Method Description static org.eclipse.rdf4j.model.ResourceRepositoryConfigUtil. getContext(RepositoryConnection con, String repositoryID)Deprecated.static voidRepositoryConfigUtil. updateRepositoryConfigs(RepositoryConnection con, RepositoryConfig... configs)Deprecated. -
Uses of RepositoryConnection in org.eclipse.rdf4j.repository.filters
Methods in org.eclipse.rdf4j.repository.filters with parameters of type RepositoryConnection Modifier and Type Method Description booleanAccurateRepositoryBloomFilter. mayHaveStatement(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)booleanInaccurateRepositoryBloomFilter. mayHaveStatement(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... contexts)booleanRepositoryBloomFilter. mayHaveStatement(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource... ctxs)Returns true if the repository may have such a statement or false if it definitely does not. -
Uses of RepositoryConnection in org.eclipse.rdf4j.repository.util
Fields in org.eclipse.rdf4j.repository.util declared as RepositoryConnection Modifier and Type Field Description protected RepositoryConnectionRDFInserter. conThe connection to use for the add operations.Methods in org.eclipse.rdf4j.repository.util with parameters of type RepositoryConnection Modifier and Type Method Description static voidConnections. consumeRDFCollection(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource head, Consumer<org.eclipse.rdf4j.model.Statement> collectionConsumer, org.eclipse.rdf4j.model.Resource... contexts)Retrieve allStatements that together form the RDF Collection starting with the supplied start resource and send them to the suppliedConsumer.static <C extends Collection<org.eclipse.rdf4j.model.Statement>>
CConnections. getRDFCollection(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource head, C statementCollection, org.eclipse.rdf4j.model.Resource... contexts)Retrieve allStatements that together form the RDF Collection starting with the supplied starting resource.static Optional<org.eclipse.rdf4j.model.Statement>Connections. getStatement(RepositoryConnection conn, org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Value object, org.eclipse.rdf4j.model.Resource... contexts)Retrieve a singleStatementmatching with the supplied subject, predicate, object and context(s) from the givenRepositoryConnection.Method parameters in org.eclipse.rdf4j.repository.util with type arguments of type RepositoryConnection Modifier and Type Method Description static voidRepositories. consume(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenConsumer, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static voidRepositories. consume(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenConsumer, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static voidRepositories. consumeNoTransaction(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenConsumer.static voidRepositories. consumeNoTransaction(Repository repository, Consumer<RepositoryConnection> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenConsumer.static voidRepositories. consumeSilent(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenConsumer, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static voidRepositories. consumeSilentNoTransaction(Repository repository, Consumer<RepositoryConnection> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenConsumer.static <T> TRepositories. get(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenFunction, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> TRepositories. get(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenFunction, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> TRepositories. getNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenFunction.static <T> TRepositories. getNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction, Consumer<RepositoryException> exceptionHandler)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenFunction.static <T> TRepositories. getSilent(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto the given Repository within a transaction, sends the connection to the givenFunction, before either rolling back the transaction if it failed, or committing the transaction if it was successful.static <T> TRepositories. getSilentNoTransaction(Repository repository, Function<RepositoryConnection,T> processFunction)Opens aRepositoryConnectionto the given Repository without opening a transaction, sends the connection to the givenFunction.Constructors in org.eclipse.rdf4j.repository.util with parameters of type RepositoryConnection Constructor Description RDFInserter(RepositoryConnection con)Creates a new RDFInserter object that preserves bnode IDs and that does not enforce any context upon statements that are reported to it.RDFRemover(RepositoryConnection con)Creates a new RDFRemover object that removes the data from the default context.
-