public class MockTransformation extends Object implements Transformation
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
PLUGIN_TYPE| Constructor and Description |
|---|
MockTransformation(List<io.cdap.cdap.api.data.schema.Schema.Field> fields,
Map<String,String> renameMap,
Map<String,Object> valuesMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(TransformationContext context) |
void |
transformSchema(MutableRowSchema rowSchema) |
void |
transformValue(MutableRowValue rowValue) |
public static final String NAME
public void initialize(TransformationContext context) throws Exception
initialize in interface TransformationExceptionpublic void transformValue(MutableRowValue rowValue) throws Exception
transformValue in interface TransformationExceptionpublic void transformSchema(MutableRowSchema rowSchema) throws Exception
transformSchema in interface TransformationExceptionCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.