public interface KiWiTripleRegistry
Modifier and Type | Method and Description |
---|---|
void |
deleteKey(IntArray key)
Remove the key with the given key, e.g.
|
long |
lookupKey(IntArray key)
Check if another (or the same) transaction has already registered an ID for the triple with the
given key.
|
void |
registerKey(IntArray key,
long transactionId,
long tripleId)
Register a key/triple id pair in the triple registry for the given transaction ID.
|
void |
releaseTransaction(long transactionId)
Free all registry entries claimed by the transaction with the given identifier.
|
void registerKey(IntArray key, long transactionId, long tripleId)
key
- the key identifying the triple arguments (subject, object, predicate, context)transactionId
- the identifier of the transaction registering the triple idtripleId
- the new triple identifierlong lookupKey(IntArray key)
key
- the key identifying the triple arguments (subject, object, predicate, context)void releaseTransaction(long transactionId)
transactionId
- the identifier of the transaction registering the triple idvoid deleteKey(IntArray key)
key
- the key identifying the triple arguments (subject, object, predicate, context)Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.