public class DataFileStatus extends FileStatus
FileStatus to include additional details such as column level statistics of the
data file in the Delta Lake table.| Constructor and Description |
|---|
DataFileStatus(String path,
long size,
long modificationTime,
java.util.Optional<DataFileStatistics> statistics)
Create a new instance of
DataFileStatus. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<DataFileStatistics> |
getStatistics()
Get the statistics of the data file encapsulated in this object.
|
String |
toString() |
equals, getModificationTime, getPath, getSize, hashCode, ofpublic DataFileStatus(String path,
long size,
long modificationTime,
java.util.Optional<DataFileStatistics> statistics)
DataFileStatus.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.public java.util.Optional<DataFileStatistics> getStatistics()
public String toString()
toString in class Object