public class SourceRunner extends StageRunner<com.streamsets.pipeline.api.Source>
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceRunner.Builder |
StageRunner.Output| Constructor and Description |
|---|
SourceRunner(Class<com.streamsets.pipeline.api.Source> sourceClass,
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) |
SourceRunner(Class<com.streamsets.pipeline.api.Source> sourceClass,
com.streamsets.pipeline.api.Source source,
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 |
runProduce(String lastOffset,
int maxBatchSize) |
clearErrors, clearEvents, getContext, getErrorRecords, getErrors, getEventRecords, getInfo, getStage, runDestroy, runInit, runValidateConfigspublic SourceRunner(Class<com.streamsets.pipeline.api.Source> sourceClass, com.streamsets.pipeline.api.Source source, 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 SourceRunner(Class<com.streamsets.pipeline.api.Source> sourceClass, 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 runProduce(String lastOffset, int maxBatchSize) 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.