public class GenericStatisticsFile extends java.lang.Object implements StatisticsFile
Constructor and Description |
---|
GenericStatisticsFile(long snapshotId,
java.lang.String path,
long fileSizeInBytes,
long fileFooterSizeInBytes,
java.util.List<BlobMetadata> blobMetadata) |
Modifier and Type | Method and Description |
---|---|
java.util.List<BlobMetadata> |
blobMetadata()
List of statistics contained in the file.
|
boolean |
equals(java.lang.Object o) |
long |
fileFooterSizeInBytes()
Size of the Puffin footer.
|
long |
fileSizeInBytes()
Size of the file
|
int |
hashCode() |
java.lang.String |
path()
Returns fully qualified path to the file, suitable for constructing a Hadoop Path.
|
long |
snapshotId()
ID of the Iceberg table's snapshot the statistics were computed from.
|
java.lang.String |
toString() |
public GenericStatisticsFile(long snapshotId, java.lang.String path, long fileSizeInBytes, long fileFooterSizeInBytes, java.util.List<BlobMetadata> blobMetadata)
public long snapshotId()
StatisticsFile
snapshotId
in interface StatisticsFile
public java.lang.String path()
StatisticsFile
path
in interface StatisticsFile
public long fileSizeInBytes()
StatisticsFile
fileSizeInBytes
in interface StatisticsFile
public long fileFooterSizeInBytes()
StatisticsFile
fileFooterSizeInBytes
in interface StatisticsFile
public java.util.List<BlobMetadata> blobMetadata()
StatisticsFile
blobMetadata
in interface StatisticsFile
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