public class ProcessorRunner extends StageRunner<com.streamsets.pipeline.api.Processor>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcessorRunner.Builder |
StageRunner.Output| Constructor and Description |
|---|
ProcessorRunner(Class<com.streamsets.pipeline.api.Processor> processorClass,
Map<String,Object> configuration,
List<String> outputLanes,
boolean isPreview,
com.streamsets.pipeline.api.OnRecordError onRecordError,
Map<String,Object> constants,
com.streamsets.pipeline.api.ExecutionMode executionMode,
String resourcesDir) |
ProcessorRunner(Class<com.streamsets.pipeline.api.Processor> processorClass,
com.streamsets.pipeline.api.Processor processor,
Map<String,Object> configuration,
List<String> outputLanes,
boolean isPreview,
com.streamsets.pipeline.api.OnRecordError onRecordError,
Map<String,Object> constants,
com.streamsets.pipeline.api.ExecutionMode executionMode,
String resourcesDir) |
| Modifier and Type | Method and Description |
|---|---|
static com.streamsets.pipeline.api.BatchMaker |
createTestBatchMaker(String... outputLanes) |
static StageRunner.Output |
getOutput(com.streamsets.pipeline.api.BatchMaker batchMaker) |
StageRunner.Output |
runProcess(List<com.streamsets.pipeline.api.Record> inputRecords) |
clearErrors, clearEvents, getContext, getErrorRecords, getErrors, getEventRecords, getInfo, getStage, runDestroy, runInit, runValidateConfigspublic ProcessorRunner(Class<com.streamsets.pipeline.api.Processor> processorClass, com.streamsets.pipeline.api.Processor processor, Map<String,Object> configuration, List<String> outputLanes, boolean isPreview, com.streamsets.pipeline.api.OnRecordError onRecordError, Map<String,Object> constants, com.streamsets.pipeline.api.ExecutionMode executionMode, String resourcesDir)
public ProcessorRunner(Class<com.streamsets.pipeline.api.Processor> processorClass, Map<String,Object> configuration, List<String> outputLanes, boolean isPreview, com.streamsets.pipeline.api.OnRecordError onRecordError, Map<String,Object> constants, com.streamsets.pipeline.api.ExecutionMode executionMode, String resourcesDir)
public StageRunner.Output runProcess(List<com.streamsets.pipeline.api.Record> inputRecords) throws com.streamsets.pipeline.api.StageException
com.streamsets.pipeline.api.StageExceptionpublic static com.streamsets.pipeline.api.BatchMaker createTestBatchMaker(String... outputLanes)
public static StageRunner.Output getOutput(com.streamsets.pipeline.api.BatchMaker batchMaker)
Copyright © 2016 StreamSets. All rights reserved.