Github user chinmaykolhatkar commented on a diff in the pull request:

    https://github.com/apache/apex-malhar/pull/311#discussion_r66675300
  
    --- Diff: 
library/src/main/java/com/datatorrent/lib/projection/ProjectionOperator.java ---
    @@ -308,5 +303,45 @@ private void handleProjection(Object t)
         }
       }
     
    +  /**
    +   * set selectFields, a list of fields to be selected from incoming POJO
    +   *
    +   * @param selectFields List of fields from POJO to be selected
    +   */
    +  public void setSelectFields(List<String> selectFields)
    +  {
    +    this.selectFields = selectFields;
    +  }
    +
    +  /**
    +   * get selectFields, a list of fields to be selected from incoming POJO
    +   *
    +   * @return selectFields list of fields from POJO to be selected
    +   */
    +  public List<String> getSelectFields()
    +  {
    +    return selectFields;
    +  }
    +
    +    /**
    +   * set dropFields, a list of fields to be dropped from incoming POJO
    +   *
    +   * @param dropFields List of fields from POJO to be selected
    +   */
    +  public void setDropFields(List<String> dropFields)
    --- End diff --
    
    Same as selectFields. Please add @useSchema and @description metatag.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to