-
Notifications
You must be signed in to change notification settings - Fork 297
Open
Labels
Description
Following on from the merging of #189, the ResourceFactory could use an overhaul.
Currently the code is a series of if statements:
if(urlOrPath.startsWith("http://"))
...
} else if(urlOrPath.startsWith("hdfs://") || urlOrPath.startsWith("s3://")
If we continue supporting more protocols this is going to get unwieldy. We should probably refactor the code better handle multiple Resource types.