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 DriverInfoSerializer
public String toString(AvroDriverInfo avroDriverInfo)
toString
in interface DriverInfoSerializer
Copyright © 2016 The Apache Software Foundation. All rights reserved.