case class SnapshotState(sizeInBytes: Long, numOfSetTransactions: Long, numOfFiles: Long, numOfRemoves: Long, numOfMetadata: Long, numOfProtocol: Long, setTransactions: Seq[SetTransaction], domainMetadata: Seq[DomainMetadata], metadata: Metadata, protocol: Protocol, fileSizeHistogram: Option[FileSizeHistogram] = 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.
- 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.
- Alphabetic
- By Inheritance
- SnapshotState
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SnapshotState(sizeInBytes: Long, numOfSetTransactions: Long, numOfFiles: Long, numOfRemoves: Long, numOfMetadata: Long, numOfProtocol: Long, setTransactions: Seq[SetTransaction], domainMetadata: Seq[DomainMetadata], metadata: Metadata, protocol: Protocol, fileSizeHistogram: Option[FileSizeHistogram] = 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.
- 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.
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(classOf[java.lang.CloneNotSupportedException]) @native()
- 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[_ <: AnyRef]
- 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 numOfFiles: Long
- val numOfMetadata: Long
- val numOfProtocol: Long
- val numOfRemoves: Long
- val numOfSetTransactions: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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(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()