| Modifier and Type | Field and Description |
|---|---|
(package private) static org.slf4j.Logger |
log |
(package private) String |
map |
(package private) Map<String,String> |
mapping |
(package private) String |
newKey |
(package private) String |
oldKey |
| Constructor and Description |
|---|
MapKeys() |
MapKeys(String oldKey,
String newKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom() |
String |
getMap() |
Map<String,String> |
getMapping() |
String |
getTo() |
Data |
process(Data input) |
void |
setFrom(String oldKey) |
void |
setMap(String map) |
void |
setMapping(Map<String,String> mapping) |
void |
setTo(String newKey) |
static org.slf4j.Logger log
String oldKey
String newKey
String map
public String getFrom()
public void setFrom(String oldKey)
oldKey - the oldKey to setpublic String getTo()
public void setTo(String newKey)
newKey - the newKey to setpublic String getMap()
@Parameter(name="map", required=false) public void setMap(String map)
map - the map to setpublic Data process(Data input)
process in interface ProcessorProcessor.process(stream.Data)@Parameter(required=true, description="A list of key mappings.") public void setMapping(Map<String,String> mapping)
mapping - the mapping to setCopyright © 2018. All rights reserved.