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 |
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, removeGraph
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, setDefaultGraph, size, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getLock, isEmpty, listGraphNodes, removeGraph, setDefaultGraph, size
public Iterator<Quad> find(Node g, Node s, Node p, Node o)
DatasetGraph
find
in interface DatasetGraph
find
in class DatasetGraphQuad
Graph.find(Node,Node,Node)
public Iterator<Quad> findNG(Node g, Node s, Node p, Node o)
DatasetGraph
findNG
in interface DatasetGraph
findNG
in class DatasetGraphQuad
Graph.find(Node,Node,Node)
public void add(Quad quad)
DatasetGraph
add
in interface DatasetGraph
add
in class DatasetGraphQuad
public void delete(Quad quad)
DatasetGraph
delete
in interface DatasetGraph
delete
in class DatasetGraphQuad
public Graph getDefaultGraph()
DatasetGraph
getDefaultGraph
in interface DatasetGraph
getDefaultGraph
in class DatasetGraphBase
public Graph getGraph(Node graphNode)
DatasetGraph
getGraph
in interface DatasetGraph
getGraph
in class DatasetGraphBase
public Dataset toDataset()
GraphStore
toDataset
in interface GraphStore
public void startRequest()
GraphStore
startRequest
in interface GraphStore
public void finishRequest()
GraphStore
finishRequest
in interface GraphStore
Licenced under the Apache License, Version 2.0