public class NoOpDeepCopier<T> extends Object implements DeepCopier<T>
DeepCopier that does nothing, and just returns the input value without copying anything.| Modifier and Type | Method and Description |
|---|---|
static <T> NoOpDeepCopier<T> |
create()
Static factory method.
|
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 static <T> NoOpDeepCopier<T> create()
public T deepCopy(T source)
DeepCopierdeepCopy in interface DeepCopier<T>source - The value to be copiedpublic void initialize(org.apache.hadoop.conf.Configuration conf)
DeepCopierinitialize in interface DeepCopier<T>conf - Job-specific configurationCopyright © 2015 The Apache Software Foundation. All Rights Reserved.