public class AvroDriverInfoSerializer extends Object implements DriverInfoSerializer
| Modifier and Type | Method and Description |
|---|---|
AvroDriverInfo |
toAvro(String id,
String startTime,
List<AvroReefServiceInfo> services)
Build AvroDriverInfo object.
|
String |
toString(AvroDriverInfo avroDriverInfo)
Convert AvroDriverInfo object to JSON string.
|
public AvroDriverInfo toAvro(String id, String startTime, List<AvroReefServiceInfo> services)
toAvro in interface DriverInfoSerializerpublic String toString(AvroDriverInfo avroDriverInfo)
toString in interface DriverInfoSerializerCopyright © 2017 The Apache Software Foundation. All rights reserved.