vvysotskyi commented on issue #1481: DRILL-6763: Codegen optimization of SQL 
functions with constant values
URL: https://github.com/apache/drill/pull/1481#issuecomment-429280849
 
 
   @lushuifeng, I meant to replace 
   `Map<JMethod, Function<DrillBuf, ? extends ValueHolder>> setters`
   with something like this: 
   `Map<JMethod, Pair<String, Function<DrillBuf, ? extends ValueHolder>>> 
setters`,
   where the `String` is the name of nested class field, or the name, which 
corresponds to the full path to this clas, for expample like this: 
`nestedClassField.nestedNestedClassField.nestedNestedNestedClassField`. So in 
the `CodeGenMemberInjector.injectMembers()`, required nested class instance may 
be received using its name and setter method may be called on it. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to