case class SnapshotState(sizeInBytes: Long, numOfSetTransactions: Long, numOfFiles: Long, numOfRemoves: Long, numDeletedRecordsOpt: Option[Long], numDeletionVectorsOpt: Option[Long], numOfMetadata: Long, numOfProtocol: Long, setTransactions: Seq[SetTransaction], domainMetadata: Seq[DomainMetadata], metadata: Metadata, protocol: Protocol, fileSizeHistogram: Option[FileSizeHistogram] = None, deletedRecordCountsHistogramOpt: Option[DeletedRecordCountsHistogram] = None) extends Product with Serializable
Metrics and metadata computed around the Delta table.
- sizeInBytes
The total size of the table (of active files, not including tombstones).
- numOfSetTransactions
Number of streams writing to this table.
- numOfFiles
The number of files in this table.
- numOfRemoves
The number of tombstones in the state.
- numDeletedRecordsOpt
The total number of records deleted with Deletion Vectors.
- numDeletionVectorsOpt
The number of Deletion Vectors present in the table.
- numOfMetadata
The number of metadata actions in the state. Should be 1.
- numOfProtocol
The number of protocol actions in the state. Should be 1.
- setTransactions
The streaming queries writing to this table.
- metadata
The metadata of the table.
- protocol
The protocol version of the Delta table.
- fileSizeHistogram
A Histogram class tracking the file counts and total bytes in different size ranges.
- deletedRecordCountsHistogramOpt
A histogram of deletion records counts distribution for all files.
- Alphabetic
- By Inheritance
- SnapshotState
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SnapshotState(sizeInBytes: Long, numOfSetTransactions: Long, numOfFiles: Long, numOfRemoves: Long, numDeletedRecordsOpt: Option[Long], numDeletionVectorsOpt: Option[Long], numOfMetadata: Long, numOfProtocol: Long, setTransactions: Seq[SetTransaction], domainMetadata: Seq[DomainMetadata], metadata: Metadata, protocol: Protocol, fileSizeHistogram: Option[FileSizeHistogram] = None, deletedRecordCountsHistogramOpt: Option[DeletedRecordCountsHistogram] = None)
- sizeInBytes
The total size of the table (of active files, not including tombstones).
- numOfSetTransactions
Number of streams writing to this table.
- numOfFiles
The number of files in this table.
- numOfRemoves
The number of tombstones in the state.
- numDeletedRecordsOpt
The total number of records deleted with Deletion Vectors.
- numDeletionVectorsOpt
The number of Deletion Vectors present in the table.
- numOfMetadata
The number of metadata actions in the state. Should be 1.
- numOfProtocol
The number of protocol actions in the state. Should be 1.
- setTransactions
The streaming queries writing to this table.
- metadata
The metadata of the table.
- protocol
The protocol version of the Delta table.
- fileSizeHistogram
A Histogram class tracking the file counts and total bytes in different size ranges.
- deletedRecordCountsHistogramOpt
A histogram of deletion records counts distribution for all files.
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( ... ) @native()
- val deletedRecordCountsHistogramOpt: Option[DeletedRecordCountsHistogram]
- val domainMetadata: Seq[DomainMetadata]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileSizeHistogram: Option[FileSizeHistogram]
-
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
- val metadata: Metadata
-
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 numDeletedRecordsOpt: Option[Long]
- val numDeletionVectorsOpt: Option[Long]
- val numOfFiles: Long
- val numOfMetadata: Long
- val numOfProtocol: Long
- val numOfRemoves: Long
- val numOfSetTransactions: Long
- val protocol: Protocol
- val setTransactions: Seq[SetTransaction]
- val sizeInBytes: 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()