| java.lang.Object com.hp.hpl.jena.db.impl.SpecializedGraphBase com.hp.hpl.jena.db.impl.SpecializedGraph_TripleStore
All known Subclasses: com.hp.hpl.jena.db.impl.SpecializedGraph_TripleStore_RDB,
SpecializedGraph_TripleStore | abstract public class SpecializedGraph_TripleStore extends SpecializedGraphBase (Code) | | author: hkuno version: $Version$ version: TripleStoreGraph is an abstract superclass for TripleStoreGraph version: implementations. By "triple store," we mean that the subjects, predicate version: and object URI's are stored in a single collection (denormalized). |
Method Summary | |
public void | add(Graph g, CompletionFlag complete) Attempt to add all the triples from a graph to the specialized graph
Caution - this call changes the graph passed in, deleting from
it each triple that is successfully added.
Node that when calling add, if complete is true, then the entire
graph was added successfully and the graph g will be empty upon
return. | public void | add(Triple t, CompletionFlag complete) | public void | add(List triples, CompletionFlag complete) | public void | clear() | public void | close() | public boolean | contains(Triple t, CompletionFlag complete) | public void | delete(Triple t, CompletionFlag complete) | public void | delete(List triples, CompletionFlag complete) | public ExtendedIterator | find(TripleMatch t, CompletionFlag complete) | public DBPropLSet | getDBPropLSet() | public int | getGraphId() | public IPSet | getPSet() | public int | tripleCount() |
m_dbPropLSet | public DBPropLSet m_dbPropLSet(Code) | | caches a copy of LSet properties
|
my_GID | public IDBID my_GID(Code) | | holds ID of graph in database (defaults to "0")
|
SpecializedGraph_TripleStore | SpecializedGraph_TripleStore(DBPropLSet lProp, IPSet pSet, Integer dbGraphID)(Code) | | Constructor
Create a new instance of a TripleStore graph.
|
SpecializedGraph_TripleStore | public SpecializedGraph_TripleStore(IPSet pSet, Integer dbGraphID)(Code) | | Constructor
Create a new instance of a TripleStore graph, taking
DBPropLSet and a PSet as arguments
|
add | public void add(Graph g, CompletionFlag complete)(Code) | | Attempt to add all the triples from a graph to the specialized graph
Caution - this call changes the graph passed in, deleting from
it each triple that is successfully added.
Node that when calling add, if complete is true, then the entire
graph was added successfully and the graph g will be empty upon
return. If complete is false, then some triples in the graph could
not be added. Those triples remain in g after the call returns.
If the triple can't be stored for any reason other than incompatability
(for example, a lack of disk space) then the implemenation should throw
a runtime exception.
Parameters: g - is a graph containing triples to be added Parameters: complete - is true if a subsequent call to contains(triple) will return true for any triple in g. |
add | public void add(List triples, CompletionFlag complete)(Code) | | |
clear | public void clear()(Code) | | |
close | public void close()(Code) | | |
contains | public boolean contains(Triple t, CompletionFlag complete)(Code) | | |
delete | public void delete(Triple t, CompletionFlag complete)(Code) | | |
delete | public void delete(List triples, CompletionFlag complete)(Code) | | |
getGraphId | public int getGraphId()(Code) | | |
tripleCount | public int tripleCount()(Code) | | |
|
|