Class BlobHeader


  • public final class BlobHeader
    extends java.lang.Object
    A "BlobHeader" which contains metadata for a Blob.
    Since:
    18695
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int dataSize  
      private byte[] indexData  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      BlobHeader​(java.lang.String type, byte[] indexData, int dataSize)
      Create a new BlobHeader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int dataSize()
      Get the blob size
      byte[] indexData()
      Get the blob metadata
      java.lang.String type()
      Get the blob type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        private final java.lang.String type
    • Constructor Detail

      • BlobHeader

        public BlobHeader​(@Nonnull
                          java.lang.String type,
                          @Nullable
                          byte[] indexData,
                          int dataSize)
        Create a new BlobHeader
        Parameters:
        type - The type of data in the blob
        indexData - The metadata for the blob
        dataSize - The size of the blob
    • Method Detail

      • type

        public java.lang.String type()
        Get the blob type
        Returns:
        The blob type
      • indexData

        public byte[] indexData()
        Get the blob metadata
        Returns:
        The blob metadata
      • dataSize

        public int dataSize()
        Get the blob size
        Returns:
        The blob size