Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Commonly it's recommended to favor composition over inheritance in java design, but currently in keyed backend we're using inheritance for the InternalKeyContext logic, and here we propose to change to the composition way.
Another advantage of changing to the composition way is that we could remove the requirement of a heap backend instance when constructing HeapRestoreOperation, and further making sure all fields are final when constructing the HeapKeyedStateBackend
Attachments
Issue Links
- blocks
-
FLINK-12066 Remove StateSerializerProvider field in keyed state backend
- Closed
- links to