toFileStatus: FileStatus
SinkFileStatus
SinkFileStatus represents the status of files of FileStreamSink (and the type of the metadata of FileStreamSinkLog):
toFileStatus Method
toFileStatus simply creates a new Hadoop FileStatus.
|
Note
|
toFileStatus is used exclusively when MetadataLogFileIndex is created.
|
Creating SinkFileStatus Instance — apply Object Method
apply(f: FileStatus): SinkFileStatus
apply simply creates a new SinkFileStatus (with add action).
|
Note
|
apply is used exclusively when ManifestFileCommitProtocol is requested to commitTask.
|