Class NativeBNode
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractBNode
org.eclipse.rdf4j.model.impl.SimpleBNode
org.eclipse.rdf4j.sail.nativerdf.model.NativeBNode
- All Implemented Interfaces:
Serializable,BNode,Resource,Value,NativeResource,NativeValue
- See Also:
-
Field Summary
Fields inherited from interface org.eclipse.rdf4j.sail.nativerdf.model.NativeValue
UNKNOWN_ID -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNativeBNode(ValueStoreRevision revision, int internalID) NativeBNode(ValueStoreRevision revision, String nodeID) NativeBNode(ValueStoreRevision revision, String nodeID, int internalID) -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this blank node to another object.intGets the ID that is used in the native store for this Value.Gets the revision of the value store that created this value.voidsetInternalID(int internalID, ValueStoreRevision revision) Sets the ID that is used for this value in a specific revision of the value store.Methods inherited from class org.eclipse.rdf4j.model.impl.SimpleBNode
getID, setIDMethods inherited from class org.eclipse.rdf4j.model.base.AbstractBNode
hashCode, stringValue, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.model.Resource
isResourceMethods inherited from interface org.eclipse.rdf4j.model.Value
isIRI, isLiteral, isTriple, stringValue
-
Constructor Details
-
NativeBNode
-
NativeBNode
-
NativeBNode
-
-
Method Details
-
setInternalID
Description copied from interface:NativeValueSets the ID that is used for this value in a specific revision of the value store.- Specified by:
setInternalIDin interfaceNativeValue
-
getValueStoreRevision
Description copied from interface:NativeValueGets 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 interfaceNativeValue- Returns:
- The revision of the value store that created this value at the time it last set the value's internal ID.
-
getInternalID
public int getInternalID()Description copied from interface:NativeValueGets the ID that is used in the native store for this Value.- Specified by:
getInternalIDin interfaceNativeValue- Returns:
- The value's ID, or
NativeValue.UNKNOWN_IDif not yet set.
-
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.
-