- All Superinterfaces:
TransactionalComponent,TupleTable<Quad>
- All Known Implementing Classes:
HexTable,PMapQuadTable
A simplex or multiplex table of
Quads. Implementations may wish to override listGraphNodes() with a
more efficient implementation.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclear()Clear all tuples from this table.find(org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Search the table using a pattern of slots.findInUnionGraph(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) default Stream<org.apache.jena.graph.Node>Discover the graphs named in the tableMethods inherited from interface org.apache.jena.sparql.core.mem.TransactionalComponent
begin, commit, endMethods inherited from interface org.apache.jena.sparql.core.mem.TupleTable
abort, add, delete
-
Method Details
-
find
Stream<Quad> find(org.apache.jena.graph.Node g, org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o) Search the table using a pattern of slots.Node.ANYornullwill work as a wildcard.- Parameters:
g- the graph node of the patterns- the subject node of the patternp- the predicate node of the patterno- the object node of the pattern- Returns:
- an
Streamof matched quads
-
listGraphNodes
Discover the graphs named in the table- Returns:
- an
Streamof graph names used in this table
-
clear
default void clear()Description copied from interface:TupleTableClear all tuples from this table.- Specified by:
clearin interfaceTupleTable<Quad>
-
findInUnionGraph
-