Class MessagePackRecordFormatter
java.lang.Object
org.komamitsu.fluency.recordformat.AbstractRecordFormatter
org.komamitsu.fluency.recordformat.MessagePackRecordFormatter
- All Implemented Interfaces:
RecordFormatter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.komamitsu.fluency.recordformat.AbstractRecordFormatter
config, objectMapperForMessagePack -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]formatFromMessagePack(String tag, Object timestamp, byte[] mapValue, int offset, int len) byte[]formatFromMessagePack(String tag, Object timestamp, ByteBuffer mapValue) Methods inherited from class org.komamitsu.fluency.recordformat.AbstractRecordFormatter
getEpoch, registerObjectMapperModules
-
Constructor Details
-
MessagePackRecordFormatter
public MessagePackRecordFormatter() -
MessagePackRecordFormatter
-
-
Method Details
-
format
- Specified by:
formatin interfaceRecordFormatter- Specified by:
formatin classAbstractRecordFormatter
-
formatFromMessagePack
public byte[] formatFromMessagePack(String tag, Object timestamp, byte[] mapValue, int offset, int len) - Specified by:
formatFromMessagePackin interfaceRecordFormatter- Specified by:
formatFromMessagePackin classAbstractRecordFormatter
-
formatFromMessagePack
- Specified by:
formatFromMessagePackin interfaceRecordFormatter- Specified by:
formatFromMessagePackin classAbstractRecordFormatter
-
formatName
- Specified by:
formatNamein interfaceRecordFormatter- Specified by:
formatNamein classAbstractRecordFormatter
-