use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class SleepTransform method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException {
if (config.millis < 1) {
throw new IllegalArgumentException("millis must be at least 1.");
}
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class DistinctReducibleAggregator method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
Schema inputSchema = stageConfigurer.getInputSchema();
this.outputSchema = getOutputSchema(stageConfigurer.getFailureCollector(), inputSchema, config.getFields());
stageConfigurer.setOutputSchema(outputSchema);
}
use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class StringValueFilterCompute method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Aggregations