我是pentaho的新手。我设法使工作取得成果。我的任务是将kjb与Java集成。在集成有效的同时,我想通过java中的转换提取分组结果。下面是代码片段。能帮我吗?
KettleEnvironment.init();
InputStream pentahoJobInputStream = getClass().getClassLoader().getResourceAsStream("src/main/resources/jobs/serverConnection.kjb");
JobMeta jobmeta = new JobMeta(pentahoJobInputStream,null,null);
Job job = new Job(null, jobmeta);
job.start();
job.waitUntilFinished();
List results = job.getJobEntryResults();