[jira] [Created] (FLINK-19804) Make FileSource class generic with respect to split types

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

[jira] [Created] (FLINK-19804) Make FileSource class generic with respect to split types

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-19804:
------------------------------------

             Summary: Make FileSource class generic with respect to split types
                 Key: FLINK-19804
                 URL: https://issues.apache.org/jira/browse/FLINK-19804
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / FileSystem
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.12.0


To support sources with different split types, the FileSource class should become generic with respect to split types.

To not create too complex generic signatures for users, we should add a new class {{AbstractFileSource}} which is generic and has all the shared generic methods.

The current {{FileSource}} would be changed to extend this class for the specific split type {{FileSourceSplit}}, and thus behave exactly like it currently does.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)