Class NamedBlob

java.lang.Object
io.quarkiverse.renarde.jpa.NamedBlob

@Embeddable public class NamedBlob extends Object
You can use this in your entity to represent named blobs, don't forget to use Embedded on you field.
  • Field Details

    • name

      public String name
      This blob's file name.
    • contents

      public Blob contents
      The blob's contents.
    • mimeType

      public String mimeType
      The blob's mime type.
  • Constructor Details

    • NamedBlob

      public NamedBlob()
  • Method Details

    • length

      public long length()
      Returns this Blob's length. Not very useful, except for the backoffice template.
      Returns:
      this Blob's length;