Class AbstractDataRecord
java.lang.Object
org.apache.jackrabbit.oak.spi.blob.AbstractDataRecord
- All Implemented Interfaces:
DataRecord
Implements
DataRecord
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AbstractSharedBackend
The data store that contains this record. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDataRecord
(AbstractSharedBackend backend, DataIdentifier identifier) Creates a data record with the given identifier. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the given object is a data record with the same identifier as this one.Returns the data identifier.Delegates the call to the backend to retrieve reference.int
hashCode()
Returns the hash code of the data identifier.toString()
Returns the string representation of the data identifier.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jackrabbit.core.data.DataRecord
getLastModified, getLength, getStream
-
Field Details
-
backend
The data store that contains this record.
-
-
Constructor Details
-
Method Details
-
getIdentifier
Returns the data identifier.- Specified by:
getIdentifier
in interfaceDataRecord
- Returns:
- data identifier
-
getReference
Delegates the call to the backend to retrieve reference.- Specified by:
getReference
in interfaceDataRecord
- Returns:
-
toString
Returns the string representation of the data identifier. -
equals
Checks if the given object is a data record with the same identifier as this one. -
hashCode
public int hashCode()Returns the hash code of the data identifier.
-