class WrappedReadStateStore extends ReadStateStore
Wraps the instance of StateStore to make the instance read-only.
- Alphabetic
- By Inheritance
- WrappedReadStateStore
- ReadStateStore
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WrappedReadStateStore(store: StateStore)
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
- def abort(): Unit
Clean up the resource.
Clean up the resource.
The method name is to respect backward compatibility on StateStore.
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get(key: UnsafeRow): UnsafeRow
Get the current value of a non-null key.
Get the current value of a non-null key.
- returns
a non-null row if the key exists in the store, otherwise null.
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def id: StateStoreId
Unique identifier of the store
Unique identifier of the store
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(): Iterator[UnsafeRowPair]
Return an iterator containing all the key-value pairs in the StateStore.
Return an iterator containing all the key-value pairs in the StateStore.
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- 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()
- def prefixScan(prefixKey: UnsafeRow): Iterator[UnsafeRowPair]
Return an iterator containing all the key-value pairs which are matched with the given prefix key.
Return an iterator containing all the key-value pairs which are matched with the given prefix key.
The operator will provide numColsPrefixKey greater than 0 in StateStoreProvider.init method if the operator needs to leverage the "prefix scan" feature. The schema of the prefix key should be same with the leftmost
numColsPrefixKeycolumns of the key schema.It is expected to throw exception if Spark calls this method without setting numColsPrefixKey to the greater than 0.
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def version: Long
Version of the data in this store before committing updates.
Version of the data in this store before committing updates.
- Definition Classes
- WrappedReadStateStore → ReadStateStore
- 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()