abstract class StreamingAggregationStateManagerBaseImpl extends StreamingAggregationStateManager
- Alphabetic
- By Inheritance
- StreamingAggregationStateManagerBaseImpl
- StreamingAggregationStateManager
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StreamingAggregationStateManagerBaseImpl(keyExpressions: Seq[Attribute], inputRowAttributes: Seq[Attribute])
Abstract Value Members
-
abstract
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
- StreamingAggregationStateManager
-
abstract
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
- StreamingAggregationStateManager
-
abstract
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
- StreamingAggregationStateManager
-
abstract
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
- StreamingAggregationStateManager
-
abstract
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
- StreamingAggregationStateManager
Concrete 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( ... ) @native() @HotSpotIntrinsicCandidate()
-
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
inputRowAttributes: Seq[Attribute]
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
keyExpressions: Seq[Attribute]
- Attributes
- protected
-
lazy val
keyProjector: UnsafeProjection
- Attributes
- protected
- 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated