public static class ETLMapReduce.ETLMapper extends Mapper implements ProgramLifecycle<MapReduceTaskContext<Object,Object>>
Mapper.Context| Constructor and Description |
|---|
ETLMapReduce.ETLMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
initialize(MapReduceTaskContext<Object,Object> context) |
void |
map(Object key,
Object value,
Mapper.Context context) |
public void initialize(MapReduceTaskContext<Object,Object> context) throws Exception
initialize in interface ProgramLifecycle<MapReduceTaskContext<Object,Object>>Exceptionpublic void map(Object key, Object value, Mapper.Context context) throws IOException, InterruptedException
map in class MapperIOExceptionInterruptedExceptionpublic void destroy()
destroy in interface ProgramLifecycle<MapReduceTaskContext<Object,Object>>Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.