case class AddFile(path: String, partitionValues: Map[String, String], size: Long, modificationTime: Long, dataChange: Boolean, stats: String = null, tags: Map[String, String] = null, deletionVector: DeletionVectorDescriptor = null, baseRowId: Option[Long] = None, defaultRowCommitVersion: Option[Long] = None, clusteringProvider: Option[String] = None) extends FileAction with HasNumRecords with Product with Serializable
Adds a new file to the table. When multiple AddFile file actions
are seen with the same path only the metadata from the last one is
kept.
path is URL-encoded.
- Alphabetic
- By Inheritance
- AddFile
- Serializable
- Product
- Equals
- HasNumRecords
- FileAction
- Action
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AddFile(path: String, partitionValues: Map[String, String], size: Long, modificationTime: Long, dataChange: Boolean, stats: String = null, tags: Map[String, String] = null, deletionVector: DeletionVectorDescriptor = null, baseRowId: Option[Long] = None, defaultRowCommitVersion: Option[Long] = None, clusteringProvider: Option[String] = None)
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()
- val clusteringProvider: Option[String]
- def copyWithTag(tag: KeyType, value: String): AddFile
- def copyWithTags(newTags: Map[String, String]): AddFile
- def copyWithoutTag(tag: KeyType): AddFile
- val dataChange: Boolean
- Definition Classes
- AddFile → FileAction
- val defaultRowCommitVersion: Option[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 deletionVector: DeletionVectorDescriptor
- Definition Classes
- AddFile → 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()
- 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
- AddFile → 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()
- lazy val insertionTime: Long
- Annotations
- @JsonIgnore()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def json: String
Before serializing make sure deletionVector.maxRowIndex is not defined.
- 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()
- val modificationTime: Long
- 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
- AddFile → FileAction
- val path: String
- Definition Classes
- AddFile → FileAction
- lazy val pathAsUri: URI
- Definition Classes
- FileAction
- Annotations
- @JsonIgnore()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def remove: RemoveFile
- def removeRows(deletionVector: DeletionVectorDescriptor, updateStats: Boolean, dataChange: Boolean = true): (AddFile, RemoveFile)
Logically remove rows by associating a
deletionVectorwith the file. - def removeWithTimestamp(timestamp: Long = System.currentTimeMillis(), dataChange: Boolean = true): RemoveFile
- val size: Long
- val stats: String
- Definition Classes
- AddFile → FileAction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tag(tag: KeyType): Option[String]
- val tags: Map[String, String]
- Definition Classes
- AddFile → 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 withoutTightBoundStats: AddFile
Update stats to have tightBounds = false, if file has any stats.
- def wrap: SingleAction