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)
DeepCopier
deepCopy
in interface DeepCopier<T>
source
- The value to be copiedpublic void initialize(org.apache.hadoop.conf.Configuration conf)
DeepCopier
initialize
in interface DeepCopier<T>
conf
- Job-specific configurationCopyright © 2016 The Apache Software Foundation. All rights reserved.