1) Introduced the notion of typed/generic adapters. A typed adapter returns ADM data corresponding to a fixed type (open or close) that is known to the adapter. Example of this kind include TwitterAdapter, RSSFeedAdapter etc. In contrast, a 'generic' adapter may return ADM data of a type that depends upon the configuration arguments(the source they are fetching from).
Example of this kind include FileFeedAdapter, NCFileSystemAdapter, HDFSAdapter etc.
2) Refactored code so that each adapter implementation does not have to redefine the (common) logic for fault tolerance.
3) Pull based adapters (such as Twitter,RSSFeed) now construct ARecords directly (care is taken to avoid object construction by re-using mutable record instances). This is different from the earlier approach of constructing an input stream and (re)parsing data.
4) Deleted some classes not required anymore because of (2)
5) Modified adapter construction to happen through corresponding factory.
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_feeds@420 eaa15691-b419-025a-1212-ee371bd00084
49 files changed