Class LmdbBNode
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractBNode
org.eclipse.rdf4j.model.impl.SimpleBNode
org.eclipse.rdf4j.sail.lmdb.model.LmdbBNode
- All Implemented Interfaces:
 Serializable, BNode, Resource, Value, LmdbResource, LmdbValue
- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Type - 
Field Summary
Fields inherited from interface LmdbValue
UNKNOWN_ID - 
Constructor Summary
ConstructorsConstructorDescriptionLmdbBNode(ValueStoreRevision revision, long internalID) LmdbBNode(ValueStoreRevision revision, String nodeID) LmdbBNode(ValueStoreRevision revision, String nodeID, long internalID)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this blank node to another object.getID()Retrieves this blank node's identifier.longGets the ID that is used in the lmdb store for this Value.Gets the revision of the value store that created this value.voidinit()Initializes this value if it was a lazy value (ID-only value) before.voidvoidsetInternalID(long internalID, ValueStoreRevision revision) Sets the ID that is used for this value in a specific revision of the value store.protected ObjectMethods inherited from class AbstractBNode
hashCode, stringValue, toStringMethods inherited from interface Resource
isResourceMethods inherited from interface Value
isIRI, isLiteral, isTriple, stringValue 
- 
Constructor Details
- 
LmdbBNode
 - 
LmdbBNode
 - 
LmdbBNode
 
 - 
 - 
Method Details
- 
setInternalID
Description copied from interface:LmdbValueSets the ID that is used for this value in a specific revision of the value store.- Specified by:
 setInternalIDin interfaceLmdbValue
 - 
getValueStoreRevision
Description copied from interface:LmdbValueGets the revision of the value store that created this value. The value's internal ID is only valid when it's value store revision is equal to the value store's current revision.- Specified by:
 getValueStoreRevisionin interfaceLmdbValue- Returns:
 - The revision of the value store that created this value at the time it last set the value's internal ID.
 
 - 
getInternalID
public long getInternalID()Description copied from interface:LmdbValueGets the ID that is used in the lmdb store for this Value.- Specified by:
 getInternalIDin interfaceLmdbValue- Returns:
 - The value's ID, or 
LmdbValue.UNKNOWN_IDif not yet set. 
 - 
setID
- Overrides:
 setIDin classSimpleBNode
 - 
getID
 - 
init
 - 
equals
Description copied from interface:BNodeCompares this blank node to another object.- Specified by:
 equalsin interfaceBNode- Overrides:
 equalsin classAbstractBNode- Parameters:
 o- the object to compare this blank node to- Returns:
 true, if the other object is an instance ofBNodeand their IDs are equal;false, otherwise.
 - 
writeReplace
- Throws:
 ObjectStreamException
 
 -