class StreamingAggregationStateManagerImplV1 extends StreamingAggregationStateManagerBaseImpl
The implementation of StreamingAggregationStateManager for state version 1. In state version 1, the schema of key and value in state are follow:
- key: Same as key expressions. - value: Same as input row attributes. The schema of value contains key expressions as well.
- Alphabetic
- By Inheritance
- StreamingAggregationStateManagerImplV1
- StreamingAggregationStateManagerBaseImpl
- StreamingAggregationStateManager
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StreamingAggregationStateManagerImplV1(keyExpressions: Seq[Attribute], inputRowAttributes: Seq[Attribute])
- keyExpressions
The attributes of keys.
- inputRowAttributes
The attributes of input row.
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commit(store: StateStore): Long
Commit all the updates that have been made to the target state store, and return the new version.
Commit all the updates that have been made to the target state store, and return the new version.
- Definition Classes
- StreamingAggregationStateManagerBaseImpl → StreamingAggregationStateManager
- 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(store: ReadStateStore, key: UnsafeRow): UnsafeRow
Get the current value of a non-null key from the target state store.
Get the current value of a non-null key from the target state store.
- Definition Classes
- StreamingAggregationStateManagerImplV1 → StreamingAggregationStateManager
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getKey(row: UnsafeRow): UnsafeRow
Extract columns consisting key from input row, and return the new row for key columns.
Extract columns consisting key from input row, and return the new row for key columns.
- Definition Classes
- StreamingAggregationStateManagerBaseImpl → StreamingAggregationStateManager
- def getStateValueSchema: StructType
Calculate schema for the value of state.
Calculate schema for the value of state. The schema is mainly passed to the StateStoreRDD.
- Definition Classes
- StreamingAggregationStateManagerImplV1 → StreamingAggregationStateManager
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inputRowAttributes: Seq[Attribute]
- Attributes
- protected
- Definition Classes
- StreamingAggregationStateManagerBaseImpl
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator(store: ReadStateStore): Iterator[UnsafeRowPair]
Return an iterator containing all the key-value pairs in target state store.
Return an iterator containing all the key-value pairs in target state store.
- Definition Classes
- StreamingAggregationStateManagerImplV1 → StreamingAggregationStateManager
- val keyExpressions: Seq[Attribute]
- Attributes
- protected
- Definition Classes
- StreamingAggregationStateManagerBaseImpl
- lazy val keyProjector: UnsafeProjection
- Attributes
- protected
- Definition Classes
- StreamingAggregationStateManagerBaseImpl
- Annotations
- @transient()
- def keys(store: ReadStateStore): Iterator[UnsafeRow]
Return an iterator containing all the keys in target state store.
Return an iterator containing all the keys in target state store.
- Definition Classes
- StreamingAggregationStateManagerBaseImpl → StreamingAggregationStateManager
- 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 put(store: StateStore, row: UnsafeRow): Unit
Put a new value for a non-null key to the target state store.
Put a new value for a non-null key to the target state store. Note that key will be extracted from the input row, and the key would be same as the result of getKey(inputRow).
- Definition Classes
- StreamingAggregationStateManagerImplV1 → StreamingAggregationStateManager
- def remove(store: StateStore, key: UnsafeRow): Unit
Remove a single non-null key from the target state store.
Remove a single non-null key from the target state store.
- Definition Classes
- StreamingAggregationStateManagerBaseImpl → StreamingAggregationStateManager
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def values(store: ReadStateStore): Iterator[UnsafeRow]
Return an iterator containing all the values in target state store.
Return an iterator containing all the values in target state store.
- Definition Classes
- StreamingAggregationStateManagerImplV1 → StreamingAggregationStateManager
- 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()