public class AvroDerivedValueDeepCopier<T,S> extends Object implements DeepCopier
Constructor and Description |
---|
AvroDerivedValueDeepCopier(MapFn<T,S> derivedToAvroFn,
MapFn<S,T> avroToDerivedFn,
AvroType<S> avroBaseType) |
Modifier and Type | Method and Description |
---|---|
Object |
deepCopy(Object source)
Create a deep copy of a value.
|
void |
initialize(org.apache.hadoop.conf.Configuration conf)
Initialize the deep copier with a job-specific configuration
|
public void initialize(org.apache.hadoop.conf.Configuration conf)
DeepCopier
initialize
in interface DeepCopier
conf
- Job-specific configurationpublic Object deepCopy(Object source)
DeepCopier
deepCopy
in interface DeepCopier
source
- The value to be copiedCopyright © 2017 The Apache Software Foundation. All rights reserved.