apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Chandra Putta <ashwinchand...@gmail.com>
Subject Re: (APEXMALHAR-2340) Initialize the list of JdbcFieldInfo in JdbcPOJOInsertOutput operator from properties.xml
Date Mon, 14 Nov 2016 17:27:01 GMT
Hitesh,

We should standardize the schema definition across apex for individual
operators and tuple classes.

I think you should be able to use schema definition for CSV parser without
the delimiter.

Regards,
Ashwin.

On Nov 14, 2016 2:45 AM, "Hitesh Kapoor" <hitesh@datatorrent.com> wrote:

> Hi All,
>
> Currently in JdbcPOJOInsertOuput operator we cannot configure JdbcFieldInfo
> via properties.xml and the user has to do the necessary coding in his
> application.
>
> To implement this improvement, the approach mentioned in
> http://docs.datatorrent.com/application_packages/#operator-properties
> could
> be followed.
> Now we need to provide the user a format for specifying the value of
> fieldInfo.
>
> Kindly let me know which of the following is the best format to be used for
> this
> 1) CSV string (or any delimited string) with values for data members of
> JdbcFieldInfo in a fixed sequence.
> 2) JSON format with appropriate mapping.
> 3) XML format with appropriate name tags and values.
>
> Regards,
> Hitesh
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message