IN - Type of input objectOUT - Type of output object@Beta public abstract class Transform<IN,OUT> extends Object implements StageLifecycle<TransformContext>, Transformation<IN,OUT>, PipelineConfigurable
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGIN_TYPE |
| Constructor and Description |
|---|
Transform() |
| Modifier and Type | Method and Description |
|---|---|
void |
configurePipeline(PipelineConfigurer pipelineConfigurer)
Configure an ETL pipeline.
|
void |
destroy()
Destroy the Transform Stage.
|
protected TransformContext |
getContext() |
void |
initialize(TransformContext context)
Initialize the Transform Stage.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformpublic static final String PLUGIN_TYPE
public void initialize(TransformContext context) throws Exception
initialize in interface StageLifecycle<TransformContext>context - TransformContextException - if there is any error during initializationpublic void configurePipeline(PipelineConfigurer pipelineConfigurer) throws IllegalArgumentException
configurePipeline in interface PipelineConfigurablepipelineConfigurer - the configurer used to add required datasets and streamsIllegalArgumentException - if the given config is invalidpublic void destroy()
destroy in interface Destroyableprotected TransformContext getContext()
Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.