org.apache.spark.sql.execution.streaming.state
Abort all the updates that have been made to the store.
Commit all the updates that have been made to the store, and return the new version.
Return an iterator of key-value pairs that satisfy a certain condition.
Return an iterator of key-value pairs that satisfy a certain condition. Note that the iterator must be fail-safe towards modification to the store, that is, it must be based on the snapshot of store the time of this call, and any change made to the store while iterating through iterator should not cause the iterator to fail or have any affect on the values in the iterator.
Get the current value of a key.
Unique identifier of the store
Iterator of store data after a set of updates have been committed.
Iterator of store data after a set of updates have been committed. This can be called only after committing all the updates made in the current thread.
Number of keys in the state store
Put a new value for a key.
Remove a single key.
Remove keys that match the following condition.
Iterator of the updates that have been committed.
Iterator of the updates that have been committed. This can be called only after committing all the updates made in the current thread.
Version of the data in this store before committing updates.
Base trait for a versioned key-value store used for streaming aggregations