public class SleepTransform extends Transform<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>
| Modifier and Type | Class and Description |
|---|---|
static class |
SleepTransform.Config
Config for plugin
|
| Modifier and Type | Field and Description |
|---|---|
static PluginClass |
PLUGIN_CLASS |
PLUGIN_TYPE| Constructor and Description |
|---|
SleepTransform(SleepTransform.Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
configurePipeline(PipelineConfigurer pipelineConfigurer) |
static ETLPlugin |
getPlugin(long millis) |
void |
prepareRun(StageSubmitterContext context) |
void |
transform(co.cask.cdap.api.data.format.StructuredRecord input,
Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) |
destroy, getContext, initialize, onRunFinishpublic static final PluginClass PLUGIN_CLASS
public SleepTransform(SleepTransform.Config config)
public void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException
configurePipeline in interface PipelineConfigurableconfigurePipeline in class Transform<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>IllegalArgumentExceptionpublic void prepareRun(StageSubmitterContext context) throws Exception
prepareRun in interface SubmitterLifecycle<StageSubmitterContext>prepareRun in class Transform<co.cask.cdap.api.data.format.StructuredRecord,co.cask.cdap.api.data.format.StructuredRecord>Exceptionpublic void transform(co.cask.cdap.api.data.format.StructuredRecord input, Emitter<co.cask.cdap.api.data.format.StructuredRecord> emitter) throws Exception
Exceptionpublic static ETLPlugin getPlugin(long millis)
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.