Created
March 4, 2024 20:44
-
-
Save charles-tan/12726358ee98158c399d31e10804f043 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void initializeState(StateInitializationContext context) throws Exception { | |
super.initializeState(context); | |
final ListState<byte[]> rawState = | |
context.getOperatorStateStore().getListState(SPLITS_STATE_DESC); | |
readerState = new SimpleVersionedListState<>(rawState, splitSerializer); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment