Package org.apache.jena.rdflink
Interface LinkDatasetGraphAccess
- All Superinterfaces:
 AutoCloseable,org.apache.jena.sparql.core.Transactional
- All Known Subinterfaces:
 LinkDatasetGraph,RDFLink
- All Known Implementing Classes:
 RDFLinkAdapter,RDFLinkDataset,RDFLinkFuseki,RDFLinkHTTP,RDFLinkModular
public interface LinkDatasetGraphAccess
extends org.apache.jena.sparql.core.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:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
org.apache.jena.sparql.core.Transactional.Promote - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this connection.org.apache.jena.graph.Graphget()Fetch the default graph.org.apache.jena.graph.GraphFetch a named graph.org.apache.jena.graph.Graphget(org.apache.jena.graph.Node graphName) Fetch a named graph.org.apache.jena.sparql.core.DatasetGraphFetch the contents of the datasetbooleanisClosed()Test whether this connection is closed or notMethods inherited from interface org.apache.jena.sparql.core.Transactional
abort, begin, begin, begin, calc, calculate, calculateRead, calculateWrite, commit, end, exec, execute, executeRead, executeWrite, isInTransaction, promote, promote, transactionMode, transactionType 
- 
Method Details
- 
get
Fetch a named graph. This is SPARQL Graph Store Protocol HTTP GET or equivalent.- Parameters:
 graphName- URI string for the graph name (null orQuad.defaultGraphIRIfor the default graph)- Returns:
 - Graph
 
 - 
get
org.apache.jena.graph.Graph get(org.apache.jena.graph.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 orQuad.defaultGraphIRIfor the default graph)- Returns:
 - Graph
 
 - 
get
org.apache.jena.graph.Graph get()Fetch the default graph. This is SPARQL Graph Store Protocol HTTP GET or equivalent.- Returns:
 - Graph
 
 - 
getDataset
org.apache.jena.sparql.core.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:
 closein interfaceAutoCloseable
 
 -