public static Selector select ( final String propName ) { return new Selector ( propName , propName ) { @ Override public void handleRow ( int index , Map < String , Object > row , Object item , Map < String , FieldAccess > fields ) { getPropertyValueAndPutIntoRow ( row , item , fields ) ; } @ Override public void handleStart ( Collection < ? > results ) { } @ Override public void handleComplete ( List < Map < String , Object > > rows ) { } } ; }
Allows you to select a property or property path .