Interface Document.BlobAccessor

All Known Implementing Classes:
BaseDocument.StateBlobAccessor
Enclosing interface:
Document

public static interface Document.BlobAccessor
An accessor that can read or write a blob and know its xpath.
Since:
7.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the blob.
    Gets the blob's xpath.
    default void
    setBlob(Blob blob)
    Sets the blob and garbage collect old value if any.
    void
    setBlob(Blob blob, boolean gcOldBlob)
    Sets the blob.
  • Method Details

    • getXPath

      String getXPath()
      Gets the blob's xpath.
    • getBlob

      Blob getBlob()
      Gets the blob.
    • setBlob

      default void setBlob(Blob blob)
      Sets the blob and garbage collect old value if any.
    • setBlob

      void setBlob(Blob blob, boolean gcOldBlob)
      Sets the blob.
      Parameters:
      blob - the blob
      gcOldBlob - do we want to garbage collect the old value if any
      Since:
      2023.4