Skip to content

Commit

Permalink
rebase to latest master
Browse files Browse the repository at this point in the history
  • Loading branch information
jingz-db committed Mar 5, 2024
1 parent cbed9c6 commit fa10594
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,10 @@ case class InputMapRow(key: String, action: String, value: (String, String))
class TestMapStateProcessor
extends StatefulProcessor[String, InputMapRow, (String, String, String)] {

@transient var _processorHandle: StatefulProcessorHandle = _
@transient var _mapState: MapState[String, String] = _

override def init(handle: StatefulProcessorHandle, outputMode: OutputMode): Unit = {
_processorHandle = handle
_mapState = handle.getMapState("sessionState", Encoders.STRING)
override def init(outputMode: OutputMode): Unit = {
_mapState = getHandle.getMapState("sessionState", Encoders.STRING)
}

override def handleInputRows(
Expand Down

0 comments on commit fa10594

Please sign in to comment.