public interface QuadTable extends TupleTable<Quad>
Quads. Implementations may wish to override listGraphNodes() with a
more efficient implementation.| Modifier and Type | Method and Description |
|---|---|
default void |
clear()
Clear all tuples from this table.
|
java.util.stream.Stream<Quad> |
find(Node g,
Node s,
Node p,
Node o)
Search the table using a pattern of slots.
|
default java.util.stream.Stream<Quad> |
findInUnionGraph(Node s,
Node p,
Node o) |
default java.util.stream.Stream<Node> |
listGraphNodes()
Discover the graphs named in the table
|
abort, add, deletebegin, commit, endjava.util.stream.Stream<Quad> find(Node g, Node s, Node p, Node o)
Node.ANY or null will work as a wildcard.g - the graph node of the patterns - the subject node of the patternp - the predicate node of the patterno - the object node of the patternStream of matched quadsdefault java.util.stream.Stream<Node> listGraphNodes()
Stream of graph names used in this tabledefault void clear()
TupleTableclear in interface TupleTable<Quad>default java.util.stream.Stream<Quad> findInUnionGraph(Node s, Node p, Node o)
Licenced under the Apache License, Version 2.0