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.boolean
equals(java.lang.Object o)
long
fileFooterSizeInBytes()
Size of the Puffin footer.long
fileSizeInBytes()
Size of the fileint
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 file is associated with.java.lang.String
toString()
-
-
-
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:StatisticsFile
ID of the Iceberg table's snapshot the statistics file is associated with.- Specified by:
snapshotId
in interfaceStatisticsFile
-
path
public java.lang.String path()
Description copied from interface:StatisticsFile
Returns fully qualified path to the file, suitable for constructing a Hadoop Path. Never null.- Specified by:
path
in interfaceStatisticsFile
-
fileSizeInBytes
public long fileSizeInBytes()
Description copied from interface:StatisticsFile
Size of the file- Specified by:
fileSizeInBytes
in interfaceStatisticsFile
-
fileFooterSizeInBytes
public long fileFooterSizeInBytes()
Description copied from interface:StatisticsFile
Size of the Puffin footer.- Specified by:
fileFooterSizeInBytes
in interfaceStatisticsFile
-
blobMetadata
public java.util.List<BlobMetadata> blobMetadata()
Description copied from interface:StatisticsFile
List of statistics contained in the file. Never null.- Specified by:
blobMetadata
in interfaceStatisticsFile
-
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
-
-