public class SyntheticAttributeExtension extends Object implements IParserExtension
Constructor and Description |
---|
SyntheticAttributeExtension() |
Modifier and Type | Method and Description |
---|---|
IEventSinkFactory |
getEventSinkFactory(IEventSinkFactory sf)
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.
|
public IEventSinkFactory getEventSinkFactory(IEventSinkFactory sf)
IParserExtension
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.
getEventSinkFactory
in interface IParserExtension
sf
- Subfactory to nest. Events created by the returned factory will normally be passed
on to sinks created by the nested subfactory.public String getValueInterpretation(String eventTypeId, String fieldId)
IParserExtension
null
should be returned.getValueInterpretation
in interface IParserExtension
eventTypeId
- event type ID to get interpretation forfieldId
- field ID within the event type to get interpretation fornull
to use the default
interpretationCopyright © 2020. All rights reserved.