Package io.delta.kernel.utils
Class DataFileStatus
Object
io.delta.kernel.utils.FileStatus
io.delta.kernel.utils.DataFileStatus
Extends
FileStatus to include additional details such as column level statistics
of the data file in the Delta Lake table.-
Constructor Summary
ConstructorsConstructorDescriptionDataFileStatus(String path, long size, long modificationTime, Optional<DataFileStatistics> statistics) Create a new instance ofDataFileStatus. -
Method Summary
Modifier and TypeMethodDescriptionGet the statistics of the data file encapsulated in this object.Methods inherited from class io.delta.kernel.utils.FileStatus
getModificationTime, getPath, getSize, of
-
Constructor Details
-
DataFileStatus
public DataFileStatus(String path, long size, long modificationTime, Optional<DataFileStatistics> statistics) Create a new instance ofDataFileStatus.- Parameters:
path- Fully qualified file path.size- File size in bytes.modificationTime- Last modification time of the file in epoch milliseconds.statistics- Optional column and file level statistics in the data file.
-
-
Method Details
-
getStatistics
Get the statistics of the data file encapsulated in this object.- Returns:
- Statistics of the file.
-