public ScalarFunctionDataSet(List<SelectItem> scalarFunctionSelectItemsToEvaluate, DataSet dataSet) { super(CollectionUtils.concat(false, scalarFunctionSelectItemsToEvaluate, dataSet.getSelectItems())); _scalarFunctionSelectItemsToEvaluate = scalarFunctionSelectItemsToEvaluate; _dataSet = dataSet; }
public ScalarFunctionDataSet(List<SelectItem> scalarFunctionSelectItemsToEvaluate, DataSet dataSet) { super(CollectionUtils.concat(false, scalarFunctionSelectItemsToEvaluate, dataSet.getSelectItems())); _scalarFunctionSelectItemsToEvaluate = scalarFunctionSelectItemsToEvaluate; _dataSet = dataSet; }
public static Collection<ComponentJob> getAllComponents(final AnalysisJob job) { return CollectionUtils.concat(false, job.getFilterJobs(), job.getTransformerJobs(), job.getAnalyzerJobs()); }
private ComponentJob getComponentByKey(final AnalysisJob job, final String queriedKey) { final List<ComponentJob> componentJobs = CollectionUtils.concat(false, job.getTransformerJobs(), job.getTransformerJobs(), job.getAnalyzerJobs()); for (final ComponentJob componentJob : componentJobs) { final String componentKey = getComponentKey(componentJob); if (queriedKey.equals(componentKey)) { return componentJob; } final OutputDataStreamJob[] outputDataStreamJobs = componentJob.getOutputDataStreamJobs(); for (final OutputDataStreamJob outputDataStreamJob : outputDataStreamJobs) { final AnalysisJob childJob = outputDataStreamJob.getJob(); if (childJob != null) { final ComponentJob result = getComponentByKey(childJob, queriedKey); if (result != null) { return result; } } } } return null; }