use of co.cask.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class IdentityTransform method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
use of co.cask.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class IntValueFilterTransform method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
use of co.cask.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 co.cask.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class DoubleTransform method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
use of co.cask.cdap.etl.api.StageConfigurer in project cdap by caskdata.
the class ExceptionTransform method configurePipeline.
@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException {
StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Aggregations