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 Detail

      • 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