Class RDFConnectionLocal

java.lang.Object
org.apache.jena.rdfconnection.RDFConnectionLocal
All Implemented Interfaces:
AutoCloseable, RDFConnection, RDFDatasetAccessConnection, RDFDatasetConnection, SparqlQueryConnection, SparqlUpdateConnection, Transactional

@Deprecated public class RDFConnectionLocal extends Object implements RDFConnection
Implement of RDFConnection over a Dataset in the same JVM.

Multiple levels of Isolation are provided. The default COPY level makes a local RDFConnection that behaves like a remote connection. This should be the normal use in testing.

  • COPYModels and Datasets are copied. This is most like a remote connection.
  • READONLY – Read-only wrappers are added but changes to the underlying model or dataset will be seen.
  • NONE (default) – Changes to the returned Models or Datasets act on the original object.