Packages

class StateStoreConf extends Serializable

A class that contains configuration parameters for StateStores.

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateStoreConf
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StateStoreConf()
  2. new StateStoreConf(sqlConf: SQLConf, extraOptions: Map[String, String] = Map.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val checkpointFileChecksumEnabled: Boolean

    Whether file checksum generation and verification is enabled.

  6. val checkpointFileChecksumSkipCreationIfFileMissingChecksum: Boolean

    Whether to skip checksum creation if file missing checksum.

    Whether to skip checksum creation if file missing checksum.

    Consider the case using STATE_STORE_CHECKPOINT_FORMAT_VERSION = 1 when a batch fails but state files are written. If on the next run, we try to upload both a new state file and a file checksum, the file could fail to be uploaded but the file checksum is uploaded successfully. This would lead to a situation where the old file could be loaded and compared with the new file checksum, which would fail the checksum verification. This issue does not happen when STATE_STORE_CHECKPOINT_FORMAT_VERSION = 2 since each batch run unique ids will be created.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val commitValidationEnabled: Boolean

    Whether to validate StateStore commits for ForeachBatch sinks to ensure all partitions are processed.

    Whether to validate StateStore commits for ForeachBatch sinks to ensure all partitions are processed. This helps detect incomplete processing due to operations like show() or limit().

  9. val compressionCodec: String

    The compression codec used to compress delta and snapshot files.

  10. val enableStateStoreCheckpointIds: Boolean

    When creating new state store checkpoint, which format version to use.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. val extraOptions: Map[String, String]
  14. val formatValidationCheckValue: Boolean

    Whether to validate the value side.

    Whether to validate the value side. This config is applied to both validators as below:

    - whether to validate the value format when the format validation is enabled. - whether to validate the value schema when the state schema check is enabled.

  15. val formatValidationEnabled: Boolean

    Whether validate the underlying format or not.

  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val maintenanceInterval: Long

    The interval of maintenance tasks.

  20. val maxVersionsToDeletePerMaintenance: Int

    Maximum number of versions to delete per maintenance operation

  21. val maxVersionsToRetainInMemory: Int

    Maximum count of versions a State Store implementation should retain in memory

  22. val minDeltasForSnapshot: Int

    Minimum number of delta files in a chain after which HDFSBackedStateStore will consider generating a snapshot.

  23. val minVersionsToDelete: Long

    Minimum number of stale checkpoint versions that need to be present in the DFS checkpoint directory for old state checkpoint version deletion to be invoked.

    Minimum number of stale checkpoint versions that need to be present in the DFS checkpoint directory for old state checkpoint version deletion to be invoked. This is to amortize the cost of discovering and deleting old checkpoint versions.

  24. val minVersionsToRetain: Int

    Minimum versions a State Store implementation should retain to allow rollbacks

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. val numStateStoreMaintenanceThreads: Int

    Size of MaintenanceThreadPool to perform maintenance tasks for StateStore

  29. val providerClass: String

    Optional fully qualified name of the subclass of StateStoreProvider managing state data.

    Optional fully qualified name of the subclass of StateStoreProvider managing state data. That is, the implementation of the State Store to use.

  30. val reportSnapshotUploadLag: Boolean

    Whether the coordinator is reporting state stores trailing behind in snapshot uploads.

  31. val skipNullsForStreamStreamJoins: Boolean

    Whether to skip null values for hash based stream-stream joins.

  32. val sqlConfs: Map[String, String]

    Additional configurations related to state store.

    Additional configurations related to state store. This will capture all configs in SQLConf that start with spark.sql.streaming.stateStore.

  33. val stateSchemaCheckEnabled: Boolean

    whether to validate state schema during query run.

  34. val stateStoreCheckpointFormatVersion: Int

    The version of the state store checkpoint format.

  35. val stateStoreEncodingFormat: String

    The interval of maintenance tasks.

  36. val stateStoreMaintenanceProcessingTimeout: Long
  37. val stateStoreMaintenanceShutdownTimeout: Long

    Timeout for state store maintenance operations to complete on shutdown

  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. val unloadOnCommit: Boolean

    Whether to unload the store on task completion.

  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped