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 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 fromlong
sourceSnapshotSequenceNumber()
Sequence number of the Iceberg table's snapshot the blob was computed fromjava.lang.String
toString()
java.lang.String
type()
Type of the blob.
-
-
-
Method Detail
-
from
public static BlobMetadata from(BlobMetadata puffinMetadata)
-
type
public java.lang.String type()
Description copied from interface:BlobMetadata
Type of the blob. Never null- Specified by:
type
in interfaceBlobMetadata
-
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 interfaceBlobMetadata
-
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 interfaceBlobMetadata
-
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 interfaceBlobMetadata
-
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 interfaceBlobMetadata
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-