Package org.apache.jena.sparql.core
Interface NamedGraph
-
- All Superinterfaces:
Graph
- All Known Implementing Classes:
GraphInMemory,GraphView,NamedGraphWrapper
public interface NamedGraph extends Graph
A graph with an associated name.Sometimes there is an associated name with a graph, where it lives on the web, or the name in a dataset.
This interface is for graph that have one associated name. What "associated" means is left open.
- See Also:
GraphView,NamedGraphWrapper
-
-
Field Summary
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodegetGraphName()Return the graph name for this graph.-
Methods inherited from interface org.apache.jena.graph.Graph
add, add, clear, close, contains, contains, delete, delete, dependsOn, find, find, find, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size, stream, stream
-
-
-
-
Method Detail
-
getGraphName
Node getGraphName()
Return the graph name for this graph. Blank nodes can be used.A named graph of "null" is discouraged - use
Quad.defaultGraphIRIfor a default graph in the context of use.
-
-