T
- The type of Tuple implementation being copiedpublic class CollectionDeepCopier<T> extends Object implements DeepCopier<Collection<T>>
Constructor and Description |
---|
CollectionDeepCopier(PType<T> elementType) |
Modifier and Type | Method and Description |
---|---|
Collection<T> |
deepCopy(Collection<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<Collection<T>>
conf
- Job-specific configurationpublic Collection<T> deepCopy(Collection<T> source)
DeepCopier
deepCopy
in interface DeepCopier<Collection<T>>
source
- The value to be copiedCopyright © 2016 The Apache Software Foundation. All rights reserved.