Rajat Khandelwal created LENS-1014:
--------------------------------------

             Summary: Make property names driver-agnostic for query 
constraints, query selection policies and driver query hook
                 Key: LENS-1014
                 URL: https://issues.apache.org/jira/browse/LENS-1014
             Project: Apache Lens
          Issue Type: Wish
            Reporter: Rajat Khandelwal


Right now, each driver has it's own specific property name for these things and 
 reading of these properties followed by initialization of objects based on 
these is done in each driver. 
Such code is mostly same for all the drivers. So with an Abstract class being 
available to us, we can use that for removing code duplication. All code 
mentioned in the previous paragraph can be moved to AbstractLensDriver. 
Similarly, these property names can be unified.
The benefit will be that any new drivers getting added to Lens will already 
have these functionalities without having to write code for these. The 
functionality will be optional since AbstractLensDriver will default to null 
objects. Plus, these will be available as standard features and property names 
will be standard across drivers. 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to