tJavaRow component code for Excel

Six Stars

tJavaRow component code for Excel

Hello,

 

I'm trying to read some columns from my Excel file using tJavaRow component but I don't know the code to do this.

 

Designer:

tFileInputExcel -> tJavaRow -> tFileOutputExcel

 

I ask it because later I will continue doing more stuff using this component, but I won't be able to do this if I don't read those columns first.

Thanks!

 


Accepted Solutions
Twelve Stars

Re: tJavaRow component code for Excel

you have to use org.apache.poi components and file Output stream.
it's not so complex but it's code not visual programming...
ETL jobs have to be easy to read… so prefer to use components if you can.

Francois Denis

Tag as "solved" for others! Kudos to thanks!


All Replies
Highlighted
Twelve Stars

Re: tJavaRow component code for Excel

hi, why dont you rear excel file using tfileInputExcel?

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Six Stars

Re: tJavaRow component code for Excel

@fdenis I use tFileInputExcel to read those columns but i want to use tJavaRow later to work with those columns using code. The problem is I don't know the reference i need to use in Java to start programming. For example, what is the code to refer to colum 1? 

Thanks!

Twelve Stars

Re: tJavaRow component code for Excel

you have to use org.apache.poi components and file Output stream.
it's not so complex but it's code not visual programming...
ETL jobs have to be easy to read… so prefer to use components if you can.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

Twelve Stars

Re: tJavaRow component code for Excel

Talend use apache.poi so you can have a look on code tab when you are using tFileInputExcel… for examples.

Francois Denis

Tag as "solved" for others! Kudos to thanks!

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download