This project has retired. For details please refer to its
Attic page.
UnionDeepCopier (Apache Crunch 0.10.0 API)
org.apache.crunch.types
Class UnionDeepCopier
java.lang.Object
org.apache.crunch.types.UnionDeepCopier
- All Implemented Interfaces:
- Serializable, DeepCopier<Union>
public class UnionDeepCopier
- extends Object
- implements DeepCopier<Union>
- See Also:
- Serialized Form
Method Summary |
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 |
UnionDeepCopier
public UnionDeepCopier(PType... elementTypes)
initialize
public void initialize(org.apache.hadoop.conf.Configuration conf)
- Description copied from interface:
DeepCopier
- Initialize the deep copier with a job-specific configuration
- Specified by:
initialize
in interface DeepCopier<Union>
- Parameters:
conf
- Job-specific configuration
deepCopy
public Union deepCopy(Union source)
- Description copied from interface:
DeepCopier
- Create a deep copy of a value.
- Specified by:
deepCopy
in interface DeepCopier<Union>
- Parameters:
source
- The value to be copied
- Returns:
- The deep copy of the value
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.