Hi Vinod,

Please have a look at the JdbcPOJOInputOperator
<https://github.com/apache/apex-malhar/blob/master/library/src/main/java/com/datatorrent/lib/db/jdbc/JdbcPOJOInputOperator.java>
which emits POJO records on the output port.

~ Bhupesh

On Wed, Oct 26, 2016 at 6:51 AM, vinod sugur <[email protected]> wrote:

> Hi,
>
> I am new to Apache Apex. I have developed a code by looking at
> JDBCInputOperator to move data from relational database to Hadoop. There is
> no transformation on data, it is just extract and load use case. I need to
> implement this approach to all tables that are part of relational schema.
>
> Question:
> How do I create Pojo dynamically? or Is there a operator which given an
> input will generate getter and setter based on the field list.
>
> Regards,
> Vinod Sugur
>
>
>
>
> --
> View this message in context: http://apache-apex-developers-
> list.78491.x6.nabble.com/data-pull-from-JDBC-tp11008.html
> Sent from the Apache Apex Developers list mailing list archive at
> Nabble.com.
>

Reply via email to