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)

Reply via email to