org.apache.spark.sql.delta.commands.optimize
AddFileWithNumRecords
Companion object AddFileWithNumRecords
case class AddFileWithNumRecords(addFile: AddFile, numPhysicalRecords: Long, numLogicalRecords: Long) extends Product with Serializable
Wrapper over an [AddFile] and its stats:
- numPhysicalRecords
The number of records physically present in the file. Equivalent to
addFile.numTotalRecords.- numLogicalRecords
The physical number of records minus the Deletion Vector cardinality. Equivalent to
addFile.numRecords.
- Alphabetic
- By Inheritance
- AddFileWithNumRecords
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AddFileWithNumRecords(addFile: AddFile, numPhysicalRecords: Long, numLogicalRecords: Long)
- numPhysicalRecords
The number of records physically present in the file. Equivalent to
addFile.numTotalRecords.- numLogicalRecords
The physical number of records minus the Deletion Vector cardinality. Equivalent to
addFile.numRecords.
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 addFile: AddFile
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
deletedToPhysicalRecordsRatio: Double
Returns the ratio of the deleted number of records to the total number of records
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
estLogicalFileSize: Long
Returns the approx size of the remaining records after excluding the deleted ones.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logicalToPhysicalRecordsRatio: Double
Returns the ratio of the logical number of records to the total number of records.
-
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()
- val numLogicalRecords: Long
- val numPhysicalRecords: Long
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()