Interface IParser
-
public interface IParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSchemagetEventSchema(List<byte[]> oneEvent)Pass one event to Parser to get the event schemaIParsergetInstance(FormatDescription formatDescription)voidparse(InputStream data, EmitBinaryEvent emitBinaryEvent)List<byte[]>parseNEvents(InputStream data, int n)
-
-
-
Method Detail
-
getInstance
IParser getInstance(FormatDescription formatDescription)
-
parse
void parse(InputStream data, EmitBinaryEvent emitBinaryEvent) throws ParseException
- Throws:
ParseException
-
parseNEvents
List<byte[]> parseNEvents(InputStream data, int n) throws ParseException
- Throws:
ParseException
-
getEventSchema
EventSchema getEventSchema(List<byte[]> oneEvent)
Pass one event to Parser to get the event schema- Parameters:
oneEvent-- Returns:
-
-