public class UnionDeepCopier extends Object implements DeepCopier<Union>
Constructor and Description |
---|
UnionDeepCopier(PType... elementTypes) |
Modifier and Type | Method and Description |
---|---|
Union |
deepCopy(Union 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 UnionDeepCopier(PType... elementTypes)
public void initialize(org.apache.hadoop.conf.Configuration conf)
DeepCopier
initialize
in interface DeepCopier<Union>
conf
- Job-specific configurationpublic Union deepCopy(Union source)
DeepCopier
deepCopy
in interface DeepCopier<Union>
source
- The value to be copiedCopyright © 2016 The Apache Software Foundation. All rights reserved.