public class GenericBlobMetadata extends java.lang.Object implements BlobMetadata
Constructor and 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) |
Modifier and Type | Method and 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.
|
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)
public static BlobMetadata from(BlobMetadata puffinMetadata)
public java.lang.String type()
BlobMetadata
type
in interface BlobMetadata
public long sourceSnapshotId()
BlobMetadata
sourceSnapshotId
in interface BlobMetadata
public long sourceSnapshotSequenceNumber()
BlobMetadata
sourceSnapshotSequenceNumber
in interface BlobMetadata
public java.util.List<java.lang.Integer> fields()
BlobMetadata
fields
in interface BlobMetadata
public java.util.Map<java.lang.String,java.lang.String> properties()
BlobMetadata
properties
in interface BlobMetadata
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object