Class BlobEntry

java.lang.Object
net.quasardb.qdb.batch.BlobEntry

public final class BlobEntry extends Object
A blob in the database.
  • Constructor Details

    • BlobEntry

      protected BlobEntry(Batch batch, String alias)
  • Method Details

    • ofAlias

      public static BlobEntry ofAlias(Batch batch, String alias)
    • put

      public void put(ByteBuffer content)
      Create a new blob with the specified content. Fails if the blob already exists.
      Parameters:
      content - The content of the blob to be created.
    • update

      public void update(ByteBuffer content)
      Replaces the content of the blob.
      Parameters:
      content - The content of the blob to be created.