Hi Stas

Just curious: what would be the use case of private method ? Being able to 
reuse the DoFn class in different contexts ?

Regards
JB⁣​

On Jan 17, 2017, 07:33, at 07:33, Stas Levin <stasle...@gmail.com> wrote:
>Hi,
>
>At the moment only public methods are eligible to be decorated with
>@ProcessElement (DoFnSignatures#findAnnotatedMethod).
>
>Seems that from a technical point of view, it would be quite possible
>to
>consider private methods as well. In fact, it's one of the benefits of
>moving towards an annotation based discovery as opposed to an interface
>based one.
>
>Do you think being able to decorate non-public methods with
>@ProcessElement
>(and similar annotations) is something we'd like to support?
>
>Regards,
>Stas

Reply via email to