Interface LinkDatasetGraphAccess

All Superinterfaces:
AutoCloseable, Transactional
All Known Subinterfaces:
LinkDatasetGraph, RDFLink
All Known Implementing Classes:
RDFLinkAdapter, RDFLinkDataset, RDFLinkFuseki, RDFLinkHTTP, RDFLinkModular

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

    • get

      Graph get(Node 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 Quad.defaultGraphIRI for the default graph)
      Returns:
      Graph
    • get

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

      DatasetGraph getDataset()
      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