T
- The type of Tuple implementation being copiedpublic class TupleDeepCopier<T extends Tuple> extends Object implements DeepCopier<T>
DeepCopier.NoOpDeepCopier<V>
Constructor and Description |
---|
TupleDeepCopier(Class<T> tupleClass,
PType... elementTypes) |
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 Tuple>
conf
- Job-specific configurationpublic T deepCopy(T source)
DeepCopier
deepCopy
in interface DeepCopier<T extends Tuple>
source
- The value to be copiedCopyright © 2013 The Apache Software Foundation. All Rights Reserved.