Requirements
- Operations
- Perform single + batch read on single + multiple dataset from script transform
- Perform single + batch read on DistributedCache from script transform
- Supported datasets for lookup
- Key-value table
- ObjectMappedTable
- Optional caching with time-based expiration
Design
- LookupKV interface
- Object lookup(String key);
- Map<String, Object> multiLookup(String[] key);
- ScriptTransform
- Add configuration property for declaring lookup tables to use, properties for each table (e.g. dataset properties)
- configure(): verify datasets / tables exist
- transform(): execute lookup methods in a transaction