|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.crunch.DoFn<S,T>
org.apache.crunch.MapFn<T,String>
org.apache.crunch.types.PTypes.EnumOutputMapper<T>
public static class PTypes.EnumOutputMapper<T extends Enum>
| Constructor Summary | |
|---|---|
PTypes.EnumOutputMapper()
|
|
| Method Summary | |
|---|---|
String |
map(T input)
Maps the given input into an instance of the output type. |
| Methods inherited from class org.apache.crunch.MapFn |
|---|
process, scaleFactor |
| Methods inherited from class org.apache.crunch.DoFn |
|---|
cleanup, configure, initialize, setContext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PTypes.EnumOutputMapper()
| Method Detail |
|---|
public String map(T input)
MapFn
map in class MapFn<T extends Enum,String>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||