This project has retired. For details please refer to its Attic page.
DeepCopier (Apache Crunch 0.7.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:
CollectionDeepCopier, DeepCopier.NoOpDeepCopier, MapDeepCopier, TupleDeepCopier, WritableDeepCopier

public interface DeepCopier<T>
extends Serializable

Performs deep copies of values.


Nested Class Summary
static class DeepCopier.NoOpDeepCopier<V>
           
 
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 © 2013 The Apache Software Foundation. All Rights Reserved.