|
|||||||||
| 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,ByteBuffer>
org.apache.crunch.util.PTypes.ProtoOutputMapFn<T>
public static class PTypes.ProtoOutputMapFn<T extends com.google.protobuf.Message>
| Constructor Summary | |
|---|---|
PTypes.ProtoOutputMapFn()
|
|
| Method Summary | |
|---|---|
ByteBuffer |
map(T proto)
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, setConfigurationForTest, setContext |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PTypes.ProtoOutputMapFn()
| Method Detail |
|---|
public ByteBuffer map(T proto)
MapFn
map in class MapFn<T extends com.google.protobuf.Message,ByteBuffer>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||