Class TransactionPayloadEventDataDeserializer
- java.lang.Object
-
- com.github.shyiko.mysql.binlog.event.deserialization.TransactionPayloadEventDataDeserializer
-
- All Implemented Interfaces:
EventDataDeserializer<TransactionPayloadEventData>
public class TransactionPayloadEventDataDeserializer extends Object implements EventDataDeserializer<TransactionPayloadEventData>
- Author:
- Somesh Malviya, Debjeet Sarkar
-
-
Field Summary
Fields Modifier and Type Field Description static intOTW_PAYLOAD_COMPRESSION_TYPE_FIELDstatic intOTW_PAYLOAD_HEADER_END_MARKstatic intOTW_PAYLOAD_SIZE_FIELDstatic intOTW_PAYLOAD_UNCOMPRESSED_SIZE_FIELD
-
Constructor Summary
Constructors Constructor Description TransactionPayloadEventDataDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionPayloadEventDatadeserialize(ByteArrayInputStream inputStream)
-
-
-
Field Detail
-
OTW_PAYLOAD_HEADER_END_MARK
public static final int OTW_PAYLOAD_HEADER_END_MARK
- See Also:
- Constant Field Values
-
OTW_PAYLOAD_SIZE_FIELD
public static final int OTW_PAYLOAD_SIZE_FIELD
- See Also:
- Constant Field Values
-
OTW_PAYLOAD_COMPRESSION_TYPE_FIELD
public static final int OTW_PAYLOAD_COMPRESSION_TYPE_FIELD
- See Also:
- Constant Field Values
-
OTW_PAYLOAD_UNCOMPRESSED_SIZE_FIELD
public static final int OTW_PAYLOAD_UNCOMPRESSED_SIZE_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
deserialize
public TransactionPayloadEventData deserialize(ByteArrayInputStream inputStream) throws IOException
- Specified by:
deserializein interfaceEventDataDeserializer<TransactionPayloadEventData>- Throws:
IOException
-
-