@DefaultImplementation(value=AvroDriverInfoSerializer.class) public interface DriverInfoSerializer
Modifier and Type | Method and Description |
---|---|
AvroDriverInfo |
toAvro(String id,
String startTime,
List<AvroReefServiceInfo> services)
Build AvroDriverInfo object from raw data.
|
String |
toString(AvroDriverInfo avroDriverInfo)
Convert AvroDriverInfo object to JSon string.
|
AvroDriverInfo toAvro(String id, String startTime, List<AvroReefServiceInfo> services)
id
- startTime
- String toString(AvroDriverInfo avroDriverInfo)
avroDriverInfo
- Copyright © 2017 The Apache Software Foundation. All rights reserved.