Interface RDFDatasetAccessConnection

All Superinterfaces:
AutoCloseable, Transactional
All Known Subinterfaces:
RDFConnection, RDFConnectionFuseki, RDFConnectionRemote, RDFDatasetConnection
All Known Implementing Classes:
RDFConnectionAdapter, RDFConnectionFuseki.RDFConnectionFusekiImpl, RDFConnectionLocal, RDFConnectionWrapper

public interface RDFDatasetAccessConnection extends Transactional, AutoCloseable
SPARQL Graph Store Protocol (read operations) and whole dataset access. RDFDatasetConnection adds the write operations.
See Also:
  • Method Details

    • fetch

      Model fetch(String graphName)
      Fetch a named graph. This is SPARQL Graph Store Protocol HTTP GET or equivalent.
      Parameters:
      graphName - URI string for the graph name (null or "default" for the default graph)
      Returns:
      Model
    • fetch

      Model fetch()
      Fetch the default graph. This is SPARQL Graph Store Protocol HTTP GET or equivalent.
      Returns:
      Model
    • fetchDataset

      Dataset fetchDataset()
      Fetch the contents of the dataset
    • isClosed

      boolean isClosed()
      Test whether this connection is closed or not
    • close

      void close()
      Close this connection. Use with try-resource.
      Specified by:
      close in interface AutoCloseable