package state
- Alphabetic
- Public
- Protected
Type Members
- case class FromSnapshotOptions(snapshotStartBatchId: Long, snapshotPartitionId: Int) extends Product with Serializable
- case class ReadChangeFeedOptions(changeStartBatchId: Long, changeEndBatchId: Long) extends Product with Serializable
- class StataDataSourceCommittedBatchUnavailable extends StateDataSourceException
- class StateDataSource extends TableProvider with DataSourceRegister with Logging
An implementation of TableProvider with DataSourceRegister for State Store data source.
- class StateDataSourceConflictOptions extends StateDataSourceException
- abstract class StateDataSourceException extends SparkRuntimeException
- class StateDataSourceInternalError extends StateDataSourceException
- class StateDataSourceInvalidOptionValue extends StateDataSourceException
- class StateDataSourceInvalidOptionValueIsEmpty extends StateDataSourceException
- class StateDataSourceInvalidOptionValueIsNegative extends StateDataSourceException
- class StateDataSourceNoPartitionDiscoveredInStateStore extends StateDataSourceException
- class StateDataSourceOffsetLogUnavailable extends StateDataSourceException
- class StateDataSourceOffsetMetadataLogUnavailable extends StateDataSourceException
- class StateDataSourceReadOperatorMetadataFailure extends StateDataSourceException
- class StateDataSourceReadStateSchemaFailure extends StateDataSourceException
- class StateDataSourceUnspecifiedRequiredOption extends StateDataSourceException
- class StatePartitionReader extends StatePartitionReaderBase
An implementation of StatePartitionReaderBase for the normal mode of State Data Source.
An implementation of StatePartitionReaderBase for the normal mode of State Data Source. It reads the state at a particular batchId.
- abstract class StatePartitionReaderBase extends PartitionReader[InternalRow] with Logging
An implementation of PartitionReader for State data source.
An implementation of PartitionReader for State data source. This is used to support general read from a state store instance, rather than specific to the operator.
- class StatePartitionReaderFactory extends PartitionReaderFactory
An implementation of PartitionReaderFactory for State data source.
An implementation of PartitionReaderFactory for State data source. This is used to support general read from a state store instance, rather than specific to the operator.
- class StateScan extends Scan with Batch
An implementation of Scan with Batch for State Store data source.
- class StateScanBuilder extends ScanBuilder
An implementation of ScanBuilder for State Store data source.
- case class StateSourceOptions(resolvedCpLocation: String, batchId: Long, operatorId: Int, storeName: String, joinSide: JoinSideValues, readChangeFeed: Boolean, fromSnapshotOptions: Option[FromSnapshotOptions], readChangeFeedOptions: Option[ReadChangeFeedOptions], stateVarName: Option[String], readRegisteredTimers: Boolean, flattenCollectionTypes: Boolean) extends Product with Serializable
- class StateStoreChangeDataPartitionReader extends StatePartitionReaderBase
An implementation of StatePartitionReaderBase for the readChangeFeed mode of State Data Source.
An implementation of StatePartitionReaderBase for the readChangeFeed mode of State Data Source. It reads the change of state over batches of a particular partition.
- class StateStoreInputPartition extends InputPartition
An implementation of InputPartition for State Store data source.
- case class StateStoreReaderInfo(keyStateEncoderSpecOpt: Option[KeyStateEncoderSpec], stateStoreColFamilySchemaOpt: Option[StateStoreColFamilySchema], transformWithStateVariableInfoOpt: Option[TransformWithStateVariableInfo], stateSchemaProviderOpt: Option[StateSchemaProvider]) extends Product with Serializable
- class StateTable extends Table with SupportsRead with SupportsMetadataColumns
An implementation of Table with SupportsRead for State Store data source.
- class StreamStreamJoinStatePartitionReader extends PartitionReader[InternalRow] with Logging
An implementation of PartitionReader for State Store data source, specifically to read the partition for the state from stream-stream join.
- class StreamStreamJoinStatePartitionReaderFactory extends PartitionReaderFactory
An implementation of PartitionReaderFactory for State Store data source, specifically to build a PartitionReader for reading the state from stream-stream join.
Value Members
- object StateDataSourceErrors
Object for grouping error messages from (most) exceptions thrown from State Data Source.
Object for grouping error messages from (most) exceptions thrown from State Data Source. State Metadata Data Source may (re/co)use this object.
ERROR_CLASS has a prefix of "STDS_" representing STateDataSource.
- object StateSourceOptions extends DataSourceOptions with Serializable
- object StateTable
Companion object for StateTable class to place constants and nested objects.
Companion object for StateTable class to place constants and nested objects. Currently storing capability of the table and the definition of metadata column(s).
- object StreamStreamJoinStateHelper
A helper object to read the state schema for stream-stream join.
A helper object to read the state schema for stream-stream join.
The parameter
excludeAuxColumnsin methods represents whether the result schema should include the columns the operator added in addition to the input schema.