public interface IParserExtension
IEventSinkFactory
instances.
See the package documentation
for a longer
discussion on how parser extensions work.
Modifier and Type | Method and Description |
---|---|
IEventSinkFactory |
getEventSinkFactory(IEventSinkFactory subFactory)
Get a new event sink factory for use during the reading of one Flight Recording.
|
String |
getValueInterpretation(String eventTypeId,
String fieldId)
Override the value interpretation.
|
String getValueInterpretation(String eventTypeId, String fieldId)
null
should be returned.eventTypeId
- event type ID to get interpretation forfieldId
- field ID within the event type to get interpretation fornull
to use the default
interpretationIEventSinkFactory getEventSinkFactory(IEventSinkFactory subFactory)
Note that it is the implementor's responsibility to make sure that the subfactory is used by
the event sink factory. If the
IEventSinkFactory.create
call is not chained to the subfactory, then events will be lost.
subFactory
- Subfactory to nest. Events created by the returned factory will normally be passed
on to sinks created by the nested subfactory.Copyright © 2020. All rights reserved.