Class LobWriteEventSerdesProvider<T extends LobWriteEvent>
java.lang.Object
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.LogMinerEventSerdesProvider<T>
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.LobWriteEventSerdesProvider<T>
- All Implemented Interfaces:
SerdesProvider<T>
public class LobWriteEventSerdesProvider<T extends LobWriteEvent>
extends LogMinerEventSerdesProvider<T>
A specialized implementation of
SerdesProvider for LobWriteEvent types.- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(DeserializationContext context, SerializerInputStream stream) Deserializes the input stream.Class<?> Get the java type for the serialization/deserialization provider.voidserialize(LobWriteEvent event, SerializerOutputStream stream) Serializes the object into the output stream.Methods inherited from class io.debezium.connector.oracle.logminer.processor.ehcache.serialization.LogMinerEventSerdesProvider
serialize
-
Constructor Details
-
LobWriteEventSerdesProvider
public LobWriteEventSerdesProvider()
-
-
Method Details
-
getJavaType
Description copied from interface:SerdesProviderGet the java type for the serialization/deserialization provider.- Specified by:
getJavaTypein interfaceSerdesProvider<T extends LobWriteEvent>- Overrides:
getJavaTypein classLogMinerEventSerdesProvider<T extends LobWriteEvent>- Returns:
- the java class type
-
serialize
Description copied from interface:SerdesProviderSerializes the object into the output stream.- Parameters:
event- the object to be serialized, should not benullstream- the output stream, should not benull- Throws:
IOException- thrown if there is a problem serializing the data to the output stream
-
deserialize
public void deserialize(DeserializationContext context, SerializerInputStream stream) throws IOException Description copied from interface:SerdesProviderDeserializes the input stream.- Specified by:
deserializein interfaceSerdesProvider<T extends LobWriteEvent>- Overrides:
deserializein classLogMinerEventSerdesProvider<T extends LobWriteEvent>- Parameters:
context- the deserialization context, should not benullstream- the input stream to be read, should not benull- Throws:
IOException- thrown if there is a problem deserializing the data from the input stream
-