Skip to content

AutoCompact

AutoCompact is a AutoCompactBase.

case object

AutoCompact is a case object in Scala which means it is a class that has exactly one instance (itself). A case object is created lazily when it is referenced, like a lazy val.

Learn more in Tour of Scala.

AutoCompact is registered when TransactionalWrite is requested to write data out and there are indeed new files added and it is not Optimize command.