Class BlobStoreBlob

  • All Implemented Interfaces:
    org.apache.jackrabbit.oak.api.Blob

    public class BlobStoreBlob
    extends Object
    implements org.apache.jackrabbit.oak.api.Blob
    A blob implementation.
    • Constructor Detail

      • BlobStoreBlob

        public BlobStoreBlob​(org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore,
                             String blobId)
    • Method Detail

      • getNewStream

        @NotNull
        public @NotNull InputStream getNewStream()
        Specified by:
        getNewStream in interface org.apache.jackrabbit.oak.api.Blob
      • length

        public long length()
        Specified by:
        length in interface org.apache.jackrabbit.oak.api.Blob
      • getReference

        @Nullable
        public @Nullable String getReference()
        Specified by:
        getReference in interface org.apache.jackrabbit.oak.api.Blob
      • getContentIdentity

        public String getContentIdentity()
        Specified by:
        getContentIdentity in interface org.apache.jackrabbit.oak.api.Blob
      • isInlined

        public boolean isInlined()
        Specified by:
        isInlined in interface org.apache.jackrabbit.oak.api.Blob
      • getBlobId

        public String getBlobId()
      • getBlobStore

        public org.apache.jackrabbit.oak.spi.blob.BlobStore getBlobStore()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object