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, deletionVector: DeletionVectorDescriptor = null, baseRowId: Option[Long] = None, defaultRowCommitVersion: Option[Long] = None, stats: String = null) extends FileAction with HasNumRecords 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.
path is URL-encoded.
- Alphabetic
- By Inheritance
- RemoveFile
- Serializable
- Product
- Equals
- HasNumRecords
- 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, deletionVector: DeletionVectorDescriptor = null, baseRowId: Option[Long] = None, defaultRowCommitVersion: Option[Long] = None, stats: 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
- val baseRowId: Option[Long]
- 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 defaultRowCommitVersion: Option[Long]
- val delTimestamp: Long
- def deletedToPhysicalRecordsRatio: Option[Double]
Returns the ratio of number of deleted records to the total number of records.
Returns the ratio of number of deleted records to the total number of records.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore()
- val deletionTimestamp: Option[Long]
- val deletionVector: DeletionVectorDescriptor
- Definition Classes
- RemoveFile → FileAction
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def estLogicalFileSize: Option[Long]
Returns the estimated size of the logical records in the file.
Returns the estimated size of the logical records in the file.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore()
- 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 getDeletionVectorUniqueId: Option[String]
Return the unique id of the deletion vector, if present, or
Noneif there's no DV.Return the unique id of the deletion vector, if present, or
Noneif there's no DV.The unique id differentiates DVs, even if there are multiple in the same file or the DV is stored inline.
- Annotations
- @JsonIgnore()
- def getFileSize: Long
- Definition Classes
- RemoveFile → FileAction
- Annotations
- @JsonIgnore()
- def getTag(tagName: String): Option[String]
Return tag value if tags is not null and the tag present.
Return tag value if tags is not null and the tag present.
- Definition Classes
- FileAction
- Annotations
- @JsonIgnore()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def json: String
- Definition Classes
- Action
- def logicalToPhysicalRecordsRatio: Option[Double]
Returns the ratio of the logical number of records to the total number of records.
Returns the ratio of the logical number of records to the total number of records.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore()
- 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()
- def numDeletedRecords: Long
Returns the number of records marked as deleted.
Returns the number of records marked as deleted.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore()
- lazy val numLogicalRecords: Option[Long]
Returns the number of logical records, which do not include those marked as deleted.
Returns the number of logical records, which do not include those marked as deleted.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore() @transient()
- def numPhysicalRecords: Option[Long]
Returns the total number of records, including those marked as deleted.
Returns the total number of records, including those marked as deleted.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore()
- lazy val parsedStatsFields: Option[ParsedStatsFields]
- Attributes
- protected
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore() @transient()
- val partitionValues: Map[String, String]
- Definition Classes
- RemoveFile → FileAction
- 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]
- val stats: String
- Definition Classes
- RemoveFile → FileAction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Map[String, String]
- Definition Classes
- RemoveFile → FileAction
- lazy val tightBounds: Option[Boolean]
Returns whether the statistics are tight or wide.
Returns whether the statistics are tight or wide.
- Definition Classes
- HasNumRecords
- Annotations
- @JsonIgnore() @transient()
- def toPath: Path
- Definition Classes
- FileAction
- 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