T
- The type of Writable that can be copiedpublic class WritableDeepCopier<T extends org.apache.hadoop.io.Writable> extends Object implements DeepCopier<T>
DeepCopier.NoOpDeepCopier<V>
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)
DeepCopier
initialize
in interface DeepCopier<T extends org.apache.hadoop.io.Writable>
conf
- Job-specific configurationpublic T deepCopy(T source)
DeepCopier
deepCopy
in interface DeepCopier<T extends org.apache.hadoop.io.Writable>
source
- The value to be copiedCopyright © 2013 The Apache Software Foundation. All Rights Reserved.