Class InMemoryDataRecord
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.datastore.InMemoryDataRecord
- All Implemented Interfaces:
org.apache.jackrabbit.oak.spi.blob.data.DataRecord
@Deprecated(since="2024-09-23")
public class InMemoryDataRecord
extends Object
implements org.apache.jackrabbit.oak.spi.blob.data.DataRecord
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Represents binary data which is backed by a byte[] (in memory).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.org.apache.jackrabbit.oak.spi.blob.data.DataIdentifierDeprecated.static InMemoryDataRecordgetInstance(String id) Deprecated.Convert a String to an instance of this class.longDeprecated.longDeprecated.Deprecated.Deprecated.inthashCode()Deprecated.Returns zero to satisfy the Object equals/hashCode contract.static booleanisInstance(String id) Deprecated.Checks if String can be converted to an instance of this class.toString()Deprecated.
-
Method Details
-
isInstance
Deprecated.Checks if String can be converted to an instance of this class.- Parameters:
id- DataRecord identifier- Returns:
- true if it can be converted
-
getInstance
Deprecated.Convert a String to an instance of this class.- Parameters:
id- DataRecord identifier- Returns:
- the instance
- Throws:
IllegalArgumentException
-
getIdentifier
public org.apache.jackrabbit.oak.spi.blob.data.DataIdentifier getIdentifier()Deprecated.- Specified by:
getIdentifierin interfaceorg.apache.jackrabbit.oak.spi.blob.data.DataRecord
-
getReference
Deprecated.- Specified by:
getReferencein interfaceorg.apache.jackrabbit.oak.spi.blob.data.DataRecord
-
getLength
public long getLength() throws org.apache.jackrabbit.oak.spi.blob.data.DataStoreExceptionDeprecated.- Specified by:
getLengthin interfaceorg.apache.jackrabbit.oak.spi.blob.data.DataRecord- Throws:
org.apache.jackrabbit.oak.spi.blob.data.DataStoreException
-
getStream
Deprecated.- Specified by:
getStreamin interfaceorg.apache.jackrabbit.oak.spi.blob.data.DataRecord
-
getLastModified
public long getLastModified()Deprecated.- Specified by:
getLastModifiedin interfaceorg.apache.jackrabbit.oak.spi.blob.data.DataRecord
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.Returns zero to satisfy the Object equals/hashCode contract. This class is mutable and not meant to be used as a hash key.
-