case class RemoveFile(path: String, deletionTimestamp: Option[Long], dataChange: Boolean = true, extendedFileMetadata: Option[Boolean] = None, partitionValues: Map[String, String] = null, size: Option[Long] = None, tags: Map[String, String] = null) extends FileAction with Product with Serializable
Logical removal of a given file from the reservoir. Acts as a tombstone before a file is deleted permanently.
Note that for protocol compatibility reasons, the fields partitionValues, size, and tags
are only present when the extendedFileMetadata flag is true. New writers should generally be
setting this flag, but old writers (and FSCK) won't, so readers must check this flag before
attempting to consume those values.
Since old tables would not have extendedFileMetadata and size field, we should make them
nullable by setting their type Option.
- Alphabetic
- By Inheritance
- RemoveFile
- Serializable
- Product
- Equals
- FileAction
- Action
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RemoveFile(path: String, deletionTimestamp: Option[Long], dataChange: Boolean = true, extendedFileMetadata: Option[Boolean] = None, partitionValues: Map[String, String] = null, size: Option[Long] = None, tags: Map[String, String] = null)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copyWithTag(tag: String, value: String): RemoveFile
Create a copy with the new tag.
Create a copy with the new tag.
extendedFileMetadatais copied unchanged. - def copyWithoutTag(tag: String): RemoveFile
Create a copy without the tag.
- val dataChange: Boolean
- Definition Classes
- RemoveFile → FileAction
- val delTimestamp: Long
- val deletionTimestamp: Option[Long]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extendedFileMetadata: Option[Boolean]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getTag(tagName: String): Option[String]
Return tag value if tags is not null and the tag present.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def json: String
- Definition Classes
- Action
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var numRecords: Option[Long]
The number of records contained inside the removed file.
- def optimizedTargetSize: Option[Long]
- Annotations
- @JsonIgnore()
- val partitionValues: Map[String, String]
- val path: String
- Definition Classes
- RemoveFile → FileAction
- lazy val pathAsUri: URI
- Definition Classes
- FileAction
- Annotations
- @JsonIgnore()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val size: Option[Long]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Map[String, String]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wrap: SingleAction
- Definition Classes
- RemoveFile → Action