This project has retired. For details please refer to its Attic page.
DeepCopier (Apache Crunch 0.10.0 API)

org.apache.crunch.types
Interface DeepCopier<T>

Type Parameters:
T - The type of value that will be copied
All Superinterfaces:
Serializable
All Known Implementing Classes:
AvroDerivedValueDeepCopier, CollectionDeepCopier, MapDeepCopier, NoOpDeepCopier, TupleDeepCopier, UnionDeepCopier, WritableDeepCopier

public interface DeepCopier<T>
extends Serializable

Performs deep copies of values.


Method Summary
 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
 

Method Detail

initialize

void initialize(org.apache.hadoop.conf.Configuration conf)
Initialize the deep copier with a job-specific configuration

Parameters:
conf - Job-specific configuration

deepCopy

T deepCopy(T source)
Create a deep copy of a value.

Parameters:
source - The value to be copied
Returns:
The deep copy of the value


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.