Class GenericBlobMetadata

  • All Implemented Interfaces:
    BlobMetadata

    public class GenericBlobMetadata
    extends java.lang.Object
    implements BlobMetadata
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericBlobMetadata​(java.lang.String type, long sourceSnapshotId, long sourceSnapshotSequenceNumber, java.util.List<java.lang.Integer> fields, java.util.Map<java.lang.String,​java.lang.String> properties)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.List<java.lang.Integer> fields()
      Ordered list of fields the blob was calculated from.
      static BlobMetadata from​(BlobMetadata puffinMetadata)  
      int hashCode()  
      java.util.Map<java.lang.String,​java.lang.String> properties()
      Additional properties of the blob, specific to the blob type.
      long sourceSnapshotId()
      ID of the Iceberg table's snapshot the blob was computed from
      long sourceSnapshotSequenceNumber()
      Sequence number of the Iceberg table's snapshot the blob was computed from
      java.lang.String toString()  
      java.lang.String type()
      Type of the blob.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GenericBlobMetadata

        public GenericBlobMetadata​(java.lang.String type,
                                   long sourceSnapshotId,
                                   long sourceSnapshotSequenceNumber,
                                   java.util.List<java.lang.Integer> fields,
                                   java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • type

        public java.lang.String type()
        Description copied from interface: BlobMetadata
        Type of the blob. Never null
        Specified by:
        type in interface BlobMetadata
      • sourceSnapshotId

        public long sourceSnapshotId()
        Description copied from interface: BlobMetadata
        ID of the Iceberg table's snapshot the blob was computed from
        Specified by:
        sourceSnapshotId in interface BlobMetadata
      • sourceSnapshotSequenceNumber

        public long sourceSnapshotSequenceNumber()
        Description copied from interface: BlobMetadata
        Sequence number of the Iceberg table's snapshot the blob was computed from
        Specified by:
        sourceSnapshotSequenceNumber in interface BlobMetadata
      • fields

        public java.util.List<java.lang.Integer> fields()
        Description copied from interface: BlobMetadata
        Ordered list of fields the blob was calculated from. Never null
        Specified by:
        fields in interface BlobMetadata
      • properties

        public java.util.Map<java.lang.String,​java.lang.String> properties()
        Description copied from interface: BlobMetadata
        Additional properties of the blob, specific to the blob type. Never null
        Specified by:
        properties in interface BlobMetadata
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object