T
- public class MapperMutate<T extends Mapper> extends Mapper implements Mutate<T>
Override
for a Mapper
. This is useful in reverse-etl type of situations
where we want to use the original mapper but just override or tweak some attributes.
Mapper.setId(String)
Mutate.Mutation
Constructor and Description |
---|
MapperMutate(String fieldName,
Object fieldValue) |
Modifier and Type | Method and Description |
---|---|
Mutate.Mutation |
getMutation()
What is the nature of Override @ the field level, for the fields being merged into the input(parent) object.
|
Object |
transform(Object input) |
addBehavior, getBehavior, getBehaviors, getEntityClass, getFieldName, getId, getProcessor, setBehaviors, setEntityClass, setFieldName, setId, setProcessor
public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public Mutate.Mutation getMutation()
Mutate
getMutation
in interface Mutate<T extends Mapper>
Mutate.Mutation
Copyright © 2018. All rights reserved.