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)
DeepCopierinitialize in interface DeepCopierconf - Job-specific configurationpublic Object deepCopy(Object source)
DeepCopierdeepCopy in interface DeepCopiersource - The value to be copiedCopyright © 2017 The Apache Software Foundation. All rights reserved.