[jira] [Created] (FLINK-10387) StateBackend create methods should return interface not abstract KeyedStateBackend classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-10387) StateBackend create methods should return interface not abstract KeyedStateBackend classes

Shang Yuanchun (Jira)
Gyula Fora created FLINK-10387:
----------------------------------

             Summary: StateBackend create methods should return interface not abstract KeyedStateBackend classes
                 Key: FLINK-10387
                 URL: https://issues.apache.org/jira/browse/FLINK-10387
             Project: Flink
          Issue Type: Improvement
          Components: State Backends, Checkpointing
    Affects Versions: 1.6.0
            Reporter: Gyula Fora


Currently the createKeyedStateBackend(...) methods return AbstractKeyedStateBackend instead of an interface.

This makes it virtually impossible to write nice extensions to StateBackends that add additional functionality to existing backends while delegating other method calls.

It should be easy enough to add a new interface that extends everything that the AbstractKeyedStateBackend does and the method should return that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)