|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.crunch.types.MapDeepCopier<T>
public class MapDeepCopier<T>
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.crunch.types.DeepCopier |
---|
DeepCopier.NoOpDeepCopier<V> |
Constructor Summary | |
---|---|
MapDeepCopier(PType<T> ptype)
|
Method Summary | |
---|---|
Map<String,T> |
deepCopy(Map<String,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 |
Constructor Detail |
---|
public MapDeepCopier(PType<T> ptype)
Method Detail |
---|
public void initialize(org.apache.hadoop.conf.Configuration conf)
DeepCopier
initialize
in interface DeepCopier<Map<String,T>>
conf
- Job-specific configurationpublic Map<String,T> deepCopy(Map<String,T> source)
DeepCopier
deepCopy
in interface DeepCopier<Map<String,T>>
source
- The value to be copied
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |