Package org.apache.iceberg
Class GenericBlobMetadata
- java.lang.Object
-
- org.apache.iceberg.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 booleanequals(java.lang.Object o)java.util.List<java.lang.Integer>fields()Ordered list of fields the blob was calculated from.static BlobMetadatafrom(BlobMetadata puffinMetadata)inthashCode()java.util.Map<java.lang.String,java.lang.String>properties()Additional properties of the blob, specific to the blob type.longsourceSnapshotId()ID of the Iceberg table's snapshot the blob was computed fromlongsourceSnapshotSequenceNumber()Sequence number of the Iceberg table's snapshot the blob was computed fromjava.lang.StringtoString()java.lang.Stringtype()Type of the blob.
-
-
-
Method Detail
-
from
public static BlobMetadata from(BlobMetadata puffinMetadata)
-
type
public java.lang.String type()
Description copied from interface:BlobMetadataType of the blob. Never null- Specified by:
typein interfaceBlobMetadata
-
sourceSnapshotId
public long sourceSnapshotId()
Description copied from interface:BlobMetadataID of the Iceberg table's snapshot the blob was computed from- Specified by:
sourceSnapshotIdin interfaceBlobMetadata
-
sourceSnapshotSequenceNumber
public long sourceSnapshotSequenceNumber()
Description copied from interface:BlobMetadataSequence number of the Iceberg table's snapshot the blob was computed from- Specified by:
sourceSnapshotSequenceNumberin interfaceBlobMetadata
-
fields
public java.util.List<java.lang.Integer> fields()
Description copied from interface:BlobMetadataOrdered list of fields the blob was calculated from. Never null- Specified by:
fieldsin interfaceBlobMetadata
-
properties
public java.util.Map<java.lang.String,java.lang.String> properties()
Description copied from interface:BlobMetadataAdditional properties of the blob, specific to the blob type. Never null- Specified by:
propertiesin interfaceBlobMetadata
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-