Class BlobStoreBlob
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.BlobStoreBlob
- All Implemented Interfaces:
Blob
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.
A blob implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.Deprecated.Deprecated.A unique identifier of the content of this value.@NotNull InputStream
Deprecated.Returns a new stream for this blob.@Nullable String
Deprecated.Returns a secure reference to this blob, ornull
if such a reference is not available.int
hashCode()
Deprecated.boolean
Deprecated.Checks if the external blob is inlined in the id itselflong
length()
Deprecated.Returns the length of this blob or -1 if unknown.toString()
Deprecated.
-
Constructor Details
-
BlobStoreBlob
Deprecated.
-
-
Method Details
-
getNewStream
Deprecated.Description copied from interface:Blob
Returns a new stream for this blob. The streams returned from multiple calls to this method are byte wise equals. That is, subsequent calls toread
return the same sequence of bytes as long as neither call throws an exception.- Specified by:
getNewStream
in interfaceBlob
- Returns:
- a new stream for this blob
-
length
public long length()Deprecated.Description copied from interface:Blob
Returns the length of this blob or -1 if unknown. -
getReference
Deprecated.Description copied from interface:Blob
Returns a secure reference to this blob, ornull
if such a reference is not available.- Specified by:
getReference
in interfaceBlob
- Returns:
- binary reference, or
null
- See Also:
-
getContentIdentity
Deprecated.Description copied from interface:Blob
A unique identifier of the content of this value. Usually this is a message digest of the content (a cryptographically secure one-way hash). This allows to avoid processing large binary values multiple times.This method returns null if the identifier is unknown. The identifier may not always be available, for example if the value has not yet been saved or processed. Once an identifier is available, it will never change because values are immutable.
If two values have the same identifier, the content of the value is guaranteed to be the same. However it is not guaranteed that two values with the same content will return the same identifier.
The identifier is opaque, meaning it can have any format and size.
- Specified by:
getContentIdentity
in interfaceBlob
- Returns:
- the unique identifier or null
-
isInlined
public boolean isInlined()Deprecated.Description copied from interface:Blob
Checks if the external blob is inlined in the id itself -
getBlobId
Deprecated. -
getBlobStore
Deprecated. -
toString
Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated.
-