public class GraphStoreNull extends DatasetGraphQuad implements GraphStore
| Constructor and Description |
|---|
GraphStoreNull() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Quad quad)
Add a quad
|
void |
addGraph(Node graphName,
Graph graph)
Add the given graph to the dataset.
|
void |
delete(Quad quad)
Delete a quad
|
Iterator<Quad> |
find(Node g,
Node s,
Node p,
Node o)
Find matching quads in the dataset (including default graph) - may include wildcards, Node.ANY or null
|
Iterator<Quad> |
findNG(Node g,
Node s,
Node p,
Node o)
Find matching quads in the dataset in named graphs only - may include wildcards, Node.ANY or null
|
void |
finishRequest()
Signal end of a request being executed
|
Graph |
getDefaultGraph()
Get the default graph as a Jena Graph
|
Graph |
getGraph(Node graphNode)
Get the graph named by graphNode : returns null on no graph
NB Whether a dataset contains a graph if there are no triples is not defined - see the specifc implementation.
|
void |
startRequest()
Signal start of a request being executed
|
Dataset |
toDataset()
Convert to a dataset (for query)
|
listGraphNodes, removeGraphadd, clear, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, setDefaultGraph, size, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, listGraphNodes, removeGraph, setDefaultGraph, sizepublic Iterator<Quad> find(Node g, Node s, Node p, Node o)
DatasetGraphfind in interface DatasetGraphfind in class DatasetGraphQuadGraph.find(Node,Node,Node)public Iterator<Quad> findNG(Node g, Node s, Node p, Node o)
DatasetGraphfindNG in interface DatasetGraphfindNG in class DatasetGraphQuadGraph.find(Node,Node,Node)public void add(Quad quad)
DatasetGraphadd in interface DatasetGraphadd in class DatasetGraphQuadpublic void delete(Quad quad)
DatasetGraphdelete in interface DatasetGraphdelete in class DatasetGraphQuadpublic void addGraph(Node graphName, Graph graph)
DatasetGraphDatasetGraph.getGraph(com.hp.hpl.jena.graph.Node)addGraph in interface DatasetGraphaddGraph in class DatasetGraphBasepublic Graph getDefaultGraph()
DatasetGraphgetDefaultGraph in interface DatasetGraphgetDefaultGraph in class DatasetGraphBasepublic Graph getGraph(Node graphNode)
DatasetGraphgetGraph in interface DatasetGraphgetGraph in class DatasetGraphBasepublic Dataset toDataset()
GraphStoretoDataset in interface GraphStorepublic void startRequest()
GraphStorestartRequest in interface GraphStorepublic void finishRequest()
GraphStorefinishRequest in interface GraphStoreLicenced under the Apache License, Version 2.0