Package org.apache.iceberg
Class GenericStatisticsFile
- java.lang.Object
-
- org.apache.iceberg.GenericStatisticsFile
-
- All Implemented Interfaces:
StatisticsFile
public class GenericStatisticsFile extends java.lang.Object implements StatisticsFile
-
-
Constructor Summary
Constructors Constructor Description GenericStatisticsFile(long snapshotId, java.lang.String path, long fileSizeInBytes, long fileFooterSizeInBytes, java.util.List<BlobMetadata> blobMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlobMetadata>blobMetadata()List of statistics contained in the file.booleanequals(java.lang.Object o)longfileFooterSizeInBytes()Size of the Puffin footer.longfileSizeInBytes()Size of the fileinthashCode()java.lang.Stringpath()Returns fully qualified path to the file, suitable for constructing a Hadoop Path.longsnapshotId()ID of the Iceberg table's snapshot the statistics were computed from.java.lang.StringtoString()
-
-
-
Constructor Detail
-
GenericStatisticsFile
public GenericStatisticsFile(long snapshotId, java.lang.String path, long fileSizeInBytes, long fileFooterSizeInBytes, java.util.List<BlobMetadata> blobMetadata)
-
-
Method Detail
-
snapshotId
public long snapshotId()
Description copied from interface:StatisticsFileID of the Iceberg table's snapshot the statistics were computed from.- Specified by:
snapshotIdin interfaceStatisticsFile
-
path
public java.lang.String path()
Description copied from interface:StatisticsFileReturns fully qualified path to the file, suitable for constructing a Hadoop Path. Never null.- Specified by:
pathin interfaceStatisticsFile
-
fileSizeInBytes
public long fileSizeInBytes()
Description copied from interface:StatisticsFileSize of the file- Specified by:
fileSizeInBytesin interfaceStatisticsFile
-
fileFooterSizeInBytes
public long fileFooterSizeInBytes()
Description copied from interface:StatisticsFileSize of the Puffin footer.- Specified by:
fileFooterSizeInBytesin interfaceStatisticsFile
-
blobMetadata
public java.util.List<BlobMetadata> blobMetadata()
Description copied from interface:StatisticsFileList of statistics contained in the file. Never null.- Specified by:
blobMetadatain interfaceStatisticsFile
-
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
-
-