Class ProtobufV1ToRecordParser
java.lang.Object
com.arpnetworking.metrics.mad.parsers.ProtobufV1ToRecordParser
- All Implemented Interfaces:
Parser<List<Record>,
HttpRequest>
public final class ProtobufV1ToRecordParser
extends Object
implements Parser<List<Record>,HttpRequest>
Parses the Inscope Metrics protobuf binary protocol into records.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(HttpRequest data) Create aRecord
from a serialized representation.
-
Constructor Details
-
ProtobufV1ToRecordParser
public ProtobufV1ToRecordParser()
-
-
Method Details
-
parse
Description copied from interface:Parser
Create aRecord
from a serialized representation.- Specified by:
parse
in interfaceParser<List<Record>,
HttpRequest> - Parameters:
data
- Some serialized representation of aRecord
.- Returns:
- Instance of
Record
from the data. - Throws:
ParsingException
- If parsing of the data fails for any reason.
-