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

org.apache.crunch.types
Class NoOpDeepCopier<T>

java.lang.Object
  extended by org.apache.crunch.types.NoOpDeepCopier<T>
All Implemented Interfaces:
Serializable, DeepCopier<T>

public class NoOpDeepCopier<T>
extends Object
implements DeepCopier<T>

A DeepCopier that does nothing, and just returns the input value without copying anything.

See Also:
Serialized Form

Method Summary
static
<T> NoOpDeepCopier<T>
create()
          Static factory method.
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T> NoOpDeepCopier<T> create()
Static factory method.


deepCopy

public T deepCopy(T source)
Description copied from interface: DeepCopier
Create a deep copy of a value.

Specified by:
deepCopy in interface DeepCopier<T>
Parameters:
source - The value to be copied
Returns:
The deep copy of the value

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<T>
Parameters:
conf - Job-specific configuration


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