class DeltaTaskStatisticsTracker extends WriteTaskStatsTracker
A per-task (i.e. one instance per executor) WriteTaskStatsTracker that collects the statistics defined by StatisticsCollection for files that are being written into a delta table.
- Alphabetic
- By Inheritance
- DeltaTaskStatisticsTracker
- WriteTaskStatsTracker
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DeltaTaskStatisticsTracker(dataCols: Seq[Attribute], statsColExpr: Expression, rootPath: Path, hadoopConf: Configuration)
- dataCols
Resolved data (i.e. non-partitionBy) columns of the dataframe to be written.
- statsColExpr
Resolved expression for computing all the statistics that we want to gather.
- rootPath
The Reservoir's root path.
- hadoopConf
Hadoop Config for being able to instantiate a FileSystem.
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
- val aggBufferAttrs: Seq[Attribute]
- Attributes
- protected
- 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 closeFile(filePath: String): Unit
- Definition Classes
- DeltaTaskStatisticsTracker → WriteTaskStatsTracker
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flattenStructCols(field: StructType, customExprId: String): Array[(String, DataType)]
Flattens the struct nested columns and for each column returns its data type and an unique custom name created by appending the inner field column name to the given
customExprId(i.e.Flattens the struct nested columns and for each column returns its data type and an unique custom name created by appending the inner field column name to the given
customExprId(i.e. an accumulator for so far created custom name, which initially is equal to the columnexprId). - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFinalStats(taskCommitTime: Long): DeltaFileStatistics
- Definition Classes
- DeltaTaskStatisticsTracker → WriteTaskStatsTracker
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initializeAggBuf(buffer: SpecificInternalRow): InternalRow
- Attributes
- protected
- val initializeStats: MutableProjection
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newFile(newFilePath: String): Unit
- Definition Classes
- DeltaTaskStatisticsTracker → WriteTaskStatsTracker
- def newPartition(partitionValues: InternalRow): Unit
- Definition Classes
- DeltaTaskStatisticsTracker → WriteTaskStatsTracker
- def newRow(filePath: String, currentRow: InternalRow): Unit
- Definition Classes
- DeltaTaskStatisticsTracker → WriteTaskStatsTracker
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val results: HashMap[String, String]
- Attributes
- protected
- val submittedFiles: HashMap[String, InternalRow]
- Attributes
- protected[this]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()