T - The type of Writable that can be copiedpublic class WritableDeepCopier<T extends org.apache.hadoop.io.Writable> extends Object implements DeepCopier<T>
| Constructor and Description |
|---|
WritableDeepCopier(Class<T> writableClass) |
| Modifier and Type | Method and Description |
|---|---|
T |
deepCopy(T 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 DeepCopier<T extends org.apache.hadoop.io.Writable>conf - Job-specific configurationpublic T deepCopy(T source)
DeepCopierdeepCopy in interface DeepCopier<T extends org.apache.hadoop.io.Writable>source - The value to be copiedCopyright © 2016 The Apache Software Foundation. All rights reserved.