public interface IObjectManager extends INativeTransaction
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the object manager, which terminates its connection with the
backing store.
|
IGPO |
createGPO()
The ObjectManager is able to assign automatic ids for a new object.
|
ICloseableIterator<org.openrdf.query.BindingSet> |
evaluate(String queryStr) |
ICloseableIterator<org.openrdf.model.Statement> |
evaluateGraph(String query) |
void |
execute(String updateStr) |
IGPO |
getGPO(org.openrdf.model.Resource id)
Return a canonical
IGPO for the Resource (canonical
within the scope of this object manager) and never null . |
IGPO |
getGPO(org.openrdf.model.Statement stmt) |
Iterator<WeakReference<IGPO>> |
getGPOs()
An iterator that visits the weak reference values in the running object
table.
|
UUID |
getID()
Deprecated.
Why do we need this? It should be hidden in how we generate
URIs, not part of the public API.
|
Iterator<org.openrdf.model.URI> |
getNames()
Deprecated.
|
BigdataValueFactory |
getValueFactory()
The value factory for the KB instance associated with this object manager
view.
|
Map<org.openrdf.model.Resource,IGPO> |
initGPOs(ICloseableIterator<org.openrdf.model.Statement> itr)
Partially materialize
IGPO s from a stream of Statement s. |
boolean |
isPersistent()
Return
true iff the object manager is backed by some
persistence layer. |
void |
materialize(IGPO gpo)
Ensure Statements are materialized for gpo's Resource:
DESCRIBE ?s . |
org.openrdf.model.Value |
recall(org.openrdf.model.URI key)
Deprecated.
|
IGPO |
recallAsGPO(org.openrdf.model.URI key) |
void |
remove(IGPO gpo)
Remove all assertions involving the specified object.
|
void |
save(org.openrdf.model.URI key,
org.openrdf.model.Value value)
Deprecated.
|
beginNativeTransaction, commitNativeTransaction, getNativeTransactionCounter, rollbackNativeTransaction
UUID getID()
IGPO getGPO(org.openrdf.model.Resource id)
IGPO
for the Resource
(canonical
within the scope of this object manager) and never null
.id
- The Resource
.IGPO
.IGPO.getId()
IGPO getGPO(org.openrdf.model.Statement stmt)
Map<org.openrdf.model.Resource,IGPO> initGPOs(ICloseableIterator<org.openrdf.model.Statement> itr)
IGPO
s from a stream of Statement
s.itr
- The Statement
s.IGPO
s from being finalized before the caller has a chance
to do something with them.Iterator<WeakReference<IGPO>> getGPOs()
IGPO
to be visited. That would allow us to eliminate the
WeakReference
from this method signature.void materialize(IGPO gpo)
DESCRIBE ?s
.void close()
IllegalStateException
- if the store is already closed.boolean isPersistent()
true
iff the object manager is backed by some
persistence layer.BigdataValueFactory getValueFactory()
ICloseableIterator<org.openrdf.query.BindingSet> evaluate(String queryStr)
void execute(String updateStr)
ICloseableIterator<org.openrdf.model.Statement> evaluateGraph(String query)
IGPO createGPO()
@Deprecated void save(org.openrdf.model.URI key, org.openrdf.model.Value value)
@Deprecated org.openrdf.model.Value recall(org.openrdf.model.URI key)
IGPO recallAsGPO(org.openrdf.model.URI key)
@Deprecated Iterator<org.openrdf.model.URI> getNames()
void remove(IGPO gpo)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.