Package | Description |
---|---|
org.apache.crunch.types |
Common functionality for business object serialization.
|
Modifier and Type | Method and Description |
---|---|
static <T extends com.google.protobuf.Message> |
PTypes.protos(Class<T> clazz,
PTypeFamily typeFamily,
SerializableSupplier<com.google.protobuf.ExtensionRegistry> supplier)
Constructs a PType for a protocol buffer, using the given
SerializableSupplier to provide
an ExtensionRegistry to use in reading the given protobuf. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.