I am new in Talend and currently I am writing my first Talend job.
I am doing the following:
(SELECT * FROM docs WHERE DocName = 'XYZ')
which will return few records using tHashInput
tHashOutput
tHashInput
tLogRow
componentI am running this Talend job from Java application like this:
FetchDocuments mySQLConnectorJob = new FetchDocuments();
mySQLConnectorJob.runJob(new String[]{});
And at the end I would like to fetch these records somehow in the Java application, for example with some method:
mySQLConnectorJob.getResultSet();
I know that we can store these records in the CSV file using the tFileOutputDelimited
component and then to parse that file in the Java application to fetch records, but I would like to avoid using that file if it is possible.
My questions:
Thanks, Nenad