public abstract class StorageTuples extends Object implements StorageRDF
| Modifier and Type | Method and Description |
|---|---|
void |
add(Node s,
Node p,
Node o)
Add a triple to the default graph.
|
void |
add(Node g,
Node s,
Node p,
Node o)
Add to a named graph.
|
boolean |
contains(Node s,
Node p,
Node o)
Test whether the default graph contains the triple.
|
boolean |
contains(Node g,
Node s,
Node p,
Node o)
Test whether any named graph matches the quad.
|
void |
delete(Node s,
Node p,
Node o)
Delete from the default graph.
|
void |
delete(Node g,
Node s,
Node p,
Node o)
Delete from a named graph.
|
Iterator<Triple> |
find(Node s,
Node p,
Node o)
Find in the default graph.
|
Iterator<Quad> |
find(Node g,
Node s,
Node p,
Node o)
Find in named graphs: does not look in the default graph.
|
void |
removeAll(Node s,
Node p,
Node o)
Delete all triples matching a
find-like pattern. |
void |
removeAll(Node g,
Node s,
Node p,
Node o)
Delete all quads matching a
find-like pattern. |
Stream<Triple> |
stream(Node s,
Node p,
Node o)
Find in the default graph.
|
Stream<Quad> |
stream(Node g,
Node s,
Node p,
Node o)
Find in named graphs: does not look in the default graph.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, contains, contains, delete, delete, find, find, findUnionGraph, stream, stream, streamUnionGraphpublic void add(Node s, Node p, Node o)
StorageRDFConcrete operation.
add in interface StorageRDFpublic void add(Node g, Node s, Node p, Node o)
StorageRDFConcrete operation.
add in interface StorageRDFpublic void delete(Node s, Node p, Node o)
StorageRDFs, p, o are all concrete.
Concrete operation.
See StorageRDF.removeAll(Node, Node, Node) for remove by pattern.
delete in interface StorageRDFpublic void delete(Node g, Node s, Node p, Node o)
StorageRDFs, p, o are all concrete.
Concrete operation.
See StorageRDF.removeAll(Node, Node, Node, Node) for remove by pattern.
delete in interface StorageRDFpublic void removeAll(Node s, Node p, Node o)
StorageRDFfind-like pattern.
Pattern operation.
removeAll in interface StorageRDFpublic void removeAll(Node g, Node s, Node p, Node o)
StorageRDFfind-like pattern.
Pattern operation.
removeAll in interface StorageRDFpublic Iterator<Triple> find(Node s, Node p, Node o)
StorageRDFPattern operation.
find in interface StorageRDFpublic Iterator<Quad> find(Node g, Node s, Node p, Node o)
StorageRDFPattern operation.
find in interface StorageRDFpublic Stream<Triple> stream(Node s, Node p, Node o)
StorageRDFPattern operation.
stream in interface StorageRDFpublic Stream<Quad> stream(Node g, Node s, Node p, Node o)
StorageRDFPattern operation.
stream in interface StorageRDFpublic boolean contains(Node s, Node p, Node o)
StorageRDFPattern operation.
Equivalent to find(s,p,o).hasNext().
contains in interface StorageRDFpublic boolean contains(Node g, Node s, Node p, Node o)
StorageRDFPattern operation.
Equivalent to find(g,s,p,o).hasNext().
contains in interface StorageRDFLicensed under the Apache License, Version 2.0