DeltaProgressReporter¶
DeltaProgressReporter is an abstraction of progress reporters (loggers).
Implementations¶
withStatusCode¶
withStatusCode[T](
statusCode: String,
defaultMessage: String,
data: Map[String, Any] = Map.empty)(body: => T): T
withStatusCode prints out the following INFO message to the logs:
[statusCode]: [defaultMessage]
withStatusCode withJobDescription with the given defaultMessage and body.
withStatusCode prints out the following INFO message to the logs:
[statusCode]: Done
withStatusCode is used when:
PartitionFilteringis requested for the files to scanSnapshotis requested for the state- DeleteCommand, MergeIntoCommand, UpdateCommand are executed
GenerateSymlinkManifestis requested to recordManifestGeneration
withJobDescription¶
withJobDescription[U](
jobDesc: String)(body: => U): U
withJobDescription...FIXME
Logging¶
Since DeltaProgressReporter is an abstraction, logging is configured using the logger of the implementations.