Closed hartig closed 8 years ago
I should mention that this PR is the first of a series of PRs that I am planning to make. The overall goal is to change the code base to provide several hooks based on which it will be possible in the future to implement and integrate more data source types (and perhaps even interface types) without having to change the main code base every time.
Yes, this is definitely a more scalable approach. Merged!
Currently, the notion of a type of data sources (e.g., HDT-backed data sources) is implicit and the types that are supported are fixed. This PR introduces more flexibility by making the following two contributions:
IDataSourceType
), andDataSourceTypesRegistry
) and integrates this registry into the existing code base (see howDataSourceFactory
uses the registry now).