Class

org.apache.spark.sql.delta.Snapshot

State

Related Doc: package Snapshot

Permalink

case class State(protocol: Protocol, metadata: Metadata, setTransactions: Seq[SetTransaction], sizeInBytes: Long, numOfFiles: Long, numOfMetadata: Long, numOfProtocol: Long, numOfRemoves: Long, numOfSetTransactions: Long) extends Product with Serializable

Metrics and metadata computed around the Delta table

protocol

The protocol version of the Delta table

metadata

The metadata of the table

setTransactions

The streaming queries writing to this table

sizeInBytes

The total size of the table (of active files, not including tombstones)

numOfFiles

The number of files in this 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

numOfRemoves

The number of tombstones in the state

numOfSetTransactions

Number of streams writing to this table

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. State
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new State(protocol: Protocol, metadata: Metadata, setTransactions: Seq[SetTransaction], sizeInBytes: Long, numOfFiles: Long, numOfMetadata: Long, numOfProtocol: Long, numOfRemoves: Long, numOfSetTransactions: Long)

    Permalink

    protocol

    The protocol version of the Delta table

    metadata

    The metadata of the table

    setTransactions

    The streaming queries writing to this table

    sizeInBytes

    The total size of the table (of active files, not including tombstones)

    numOfFiles

    The number of files in this 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

    numOfRemoves

    The number of tombstones in the state

    numOfSetTransactions

    Number of streams writing to this table

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. val metadata: Metadata

    Permalink

    The metadata of the table

  11. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  13. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. val numOfFiles: Long

    Permalink

    The number of files in this table

  15. val numOfMetadata: Long

    Permalink

    The number of metadata actions in the state.

    The number of metadata actions in the state. Should be 1

  16. val numOfProtocol: Long

    Permalink

    The number of protocol actions in the state.

    The number of protocol actions in the state. Should be 1

  17. val numOfRemoves: Long

    Permalink

    The number of tombstones in the state

  18. val numOfSetTransactions: Long

    Permalink

    Number of streams writing to this table

  19. val protocol: Protocol

    Permalink

    The protocol version of the Delta table

  20. val setTransactions: Seq[SetTransaction]

    Permalink

    The streaming queries writing to this table

  21. val sizeInBytes: Long

    Permalink

    The total size of the table (of active files, not including tombstones)

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped