void
Adds RDF data from the specified file to a specific contexts in the repository.
default void
Adds RDF data from the specified file to a specific contexts in the repository.
default void
Adds RDF data from the specified file to a specific contexts in the repository.
void
Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.
default void
Adds RDF data from an InputStream to the repository, optionally to one or more named contexts.
void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.
default void
Adds RDF data from a Reader to the repository, optionally to one or more named contexts.
void
Adds the supplied statements to this repository, optionally to one or more named contexts.
void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named
contexts.
default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named
contexts.
default void
Adds the RDF data that can be found at the specified URL to the repository, optionally to one or more named
contexts.
void
Adds the supplied statements to this repository, optionally to one or more named contexts.
void
Adds a statement with the specified subject, predicate and object to this repository, optionally to one or more
named contexts.
void
Adds the supplied statement to this repository, optionally to one or more named contexts.
default void
Adds the supplied statements to this repository, optionally to one or more named contexts.
void
void
default void
void
Removes all statements from a specific contexts in the repository.
void
Removes all namespace declarations from the repository.
default void
Closes the connection, freeing resources.
void
Commits the active transaction.
void
Exports all explicit statements in the specified contexts to the supplied RDFHandler.
void
Exports all statements with a specific subject, predicate and/or object from the repository, optionally from the
specified contexts.
Gets all resources that are used as context identifiers.
Gets the namespace that is associated with the specified prefix, if any.
Gets all declared namespaces as a RepositoryResult of
Namespace objects.
Returns the parser configuration this connection uses for Rio-based operations.
Returns the Repository object to which this connection belongs.
Gets all statements with a specific subject, predicate and/or object from the repository.
Gets all statements with a specific subject, predicate and/or object from the repository.
Gets a ValueFactory for this RepositoryConnection.
boolean
Checks whether the repository contains statements with a specific subject, predicate and/or object, optionally in
the specified contexts.
boolean
Checks whether the repository contains the specified statement, optionally in the specified contexts.
boolean
Indicates if a transaction is currently active on the connection.
boolean
boolean
Returns true if this repository does not contain any (explicit) statements.
boolean
Checks whether this connection is open.
default void
Checks for an error state in the active transaction that would force the transaction to be rolled back.
Prepares SPARQL queries that return true or false, that is, SPARQL ASK queries.
Prepares queries that return true or false.
Prepares queries that return true or false.
Prepares SPARQL queries that produce RDF graphs, that is, SPARQL CONSTRUCT or DESCRIBE queries.
Prepares queries that produce RDF graphs.
Prepares queries that produce RDF graphs.
Prepares a SPARQL query for evaluation on this repository (optional operation).
Prepares a query for evaluation on this repository (optional operation).
Prepares a query for evaluation on this repository (optional operation).
Prepares a SPARQL query that produces sets of value tuples, that is a SPARQL SELECT query.
Prepares a query that produces sets of value tuples.
Prepares a query that produces sets of value tuples.
Prepares a SPARQL Update operation.
Prepares an Update operation.
Prepares an Update operation.
void
Removes the supplied statements from the specified contexts in this repository.
void
Removes the supplied statements from a specific context in this repository, ignoring any context information
carried by the statements themselves.
void
Removes the statement(s) with the specified subject, predicate and object from the repository, optionally
restricted to the specified contexts.
void
Removes the supplied statement from the specified contexts in the repository.
default void
Removes the supplied statements from a specific context in this repository, ignoring any context information
carried by the statements themselves.
void
Removes a namespace declaration by removing the association between a prefix and a namespace name.
void
Rolls back all updates in the active transaction.
void
void
Sets the transaction isolation level for the next transaction(s) on this connection.
void
Sets the prefix for a namespace.
void
Set the parser configuration this connection should use for RDFParser-based operations.
long
Returns the number of (explicit) statements that are in the specified contexts in this repository.
RepositoryConnection.isActive()instead.