public class ProtobufDatumFactory extends Object
Modifier and Type | Method and Description |
---|---|
ProtobufDatum |
createDatum(com.google.protobuf.Message.Builder builder) |
ProtobufDatum |
createDatum(com.google.protobuf.Message message) |
static ProtobufDatumFactory |
get(String className) |
static ProtobufDatumFactory |
get(TajoDataTypes.DataType dataType) |
<T extends com.google.protobuf.Message.Builder> |
newBuilder() |
static String |
toJson(com.google.protobuf.Message message) |
public <T extends com.google.protobuf.Message.Builder> T newBuilder()
public ProtobufDatum createDatum(com.google.protobuf.Message.Builder builder)
public ProtobufDatum createDatum(com.google.protobuf.Message message)
public static ProtobufDatumFactory get(TajoDataTypes.DataType dataType)
public static ProtobufDatumFactory get(String className)
public static String toJson(com.google.protobuf.Message message)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.