public abstract class DatasetGraphQuad extends DatasetGraphBase
Constructor and Description |
---|
DatasetGraphQuad() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(Quad quad)
Add a quad
|
abstract void |
delete(Quad quad)
Delete a quad
|
abstract 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
|
abstract 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
|
Iterator<Node> |
listGraphNodes()
Iterate over all names of named graphs
|
void |
removeGraph(Node graphName)
Remove all data associated with the named graph
|
add, addGraph, close, contains, contains, containsGraph, delete, deleteAny, find, find, getContext, getDefaultGraph, getGraph, getLock, isEmpty, setDefaultGraph, size, toString
public Iterator<Node> listGraphNodes()
DatasetGraph
public void removeGraph(Node graphName)
DatasetGraph
removeGraph
in interface DatasetGraph
removeGraph
in class DatasetGraphBase
public abstract Iterator<Quad> find(Node g, Node s, Node p, Node o)
DatasetGraph
Graph.find(Node,Node,Node)
public abstract Iterator<Quad> findNG(Node g, Node s, Node p, Node o)
DatasetGraph
Graph.find(Node,Node,Node)
public abstract void add(Quad quad)
DatasetGraph
add
in interface DatasetGraph
add
in class DatasetGraphBase
public abstract void delete(Quad quad)
DatasetGraph
delete
in interface DatasetGraph
delete
in class DatasetGraphBase
Licenced under the Apache License, Version 2.0