Search in sources :

Example 11 with StageConfigurer

use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.

the class NullAlertTransform method configurePipeline.

@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
    StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
    stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Also used : StageConfigurer(io.cdap.cdap.etl.api.StageConfigurer)

Example 12 with StageConfigurer

use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.

the class DoubleTransform method configurePipeline.

@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
    StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
    stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Also used : StageConfigurer(io.cdap.cdap.etl.api.StageConfigurer)

Example 13 with StageConfigurer

use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.

the class ExceptionTransform method configurePipeline.

@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
    StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
    stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Also used : StageConfigurer(io.cdap.cdap.etl.api.StageConfigurer)

Example 14 with StageConfigurer

use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.

the class FilterErrorTransform method configurePipeline.

@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
    StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
    stageConfigurer.setOutputSchema(stageConfigurer.getInputSchema());
}
Also used : StageConfigurer(io.cdap.cdap.etl.api.StageConfigurer)

Example 15 with StageConfigurer

use of io.cdap.cdap.etl.api.StageConfigurer in project cdap by caskdata.

the class FlattenErrorTransform method configurePipeline.

@Override
public void configurePipeline(PipelineConfigurer pipelineConfigurer) {
    StageConfigurer stageConfigurer = pipelineConfigurer.getStageConfigurer();
    Schema inputSchema = stageConfigurer.getInputSchema();
    if (inputSchema != null) {
        stageConfigurer.setOutputSchema(getOutputSchema(inputSchema));
    }
}
Also used : StageConfigurer(io.cdap.cdap.etl.api.StageConfigurer) Schema(io.cdap.cdap.api.data.schema.Schema)

Aggregations

StageConfigurer (io.cdap.cdap.etl.api.StageConfigurer)18 Schema (io.cdap.cdap.api.data.schema.Schema)8 FailureCollector (io.cdap.cdap.etl.api.FailureCollector)1