public class GraphPlain extends WrappedGraph
emptyGraph| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Node s,
Node p,
Node o)
Answer true iff the graph contains a triple matching (s, p, o).
|
boolean |
contains(Triple t)
Answer true iff the graph contains a triple that t matches; t may be
fluid.
|
ExtendedIterator<Triple> |
find(Node subj,
Node pred,
Node obj)
Returns an iterator over Triples matching a pattern.
|
ExtendedIterator<Triple> |
find(Triple m)
Returns an iterator over all the Triples that match the triple pattern.
|
Capabilities |
getCapabilities()
returns this Graph's capabilities
|
static Graph |
plain()
Return a graph that only has term-equality.
|
static Graph |
plain(Graph base)
Return a graph that only has term-equality
and storage in the
base graph. |
void |
remove(Node s,
Node p,
Node o)
Remove all triples that match by find(s, p, o)
|
String |
toString() |
add, clear, close, delete, dependsOn, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, getWrapped, isClosed, isEmpty, isIsomorphicWith, performAdd, performDelete, sizepublic static Graph plain(Graph base)
base graph.
Update affects the base graph.public static Graph plain()
public Capabilities getCapabilities()
GraphgetCapabilities in interface GraphgetCapabilities in class WrappedGraphpublic void remove(Node s, Node p, Node o)
Graphremove in interface Graphremove in class WrappedGraphpublic boolean contains(Triple t)
Graphcontains in interface Graphcontains in class WrappedGraphpublic boolean contains(Node s, Node p, Node o)
Graphcontains in interface Graphcontains in class WrappedGraphpublic ExtendedIterator<Triple> find(Triple m)
Graphfind in interface Graphfind in class WrappedGraphm - a Triple encoding the pattern to look forpublic ExtendedIterator<Triple> find(Node subj, Node pred, Node obj)
Graphfind in interface Graphfind in class WrappedGraphLicenced under the Apache License, Version 2.0