Class LogMinerEventSerdesProvider<T extends LogMinerEvent>
java.lang.Object
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.LogMinerEventSerdesProvider<T>
- All Implemented Interfaces:
SerdesProvider<T>
- Direct Known Subclasses:
DmlEventSerdesProvider,ExtendedStringWriteEventSerdesProvider,LobEraseEventSerdesProvider,LobWriteEventSerdesProvider,XmlEndEventSerdesProvider,XmlWriteEventSerdesProvider
public class LogMinerEventSerdesProvider<T extends LogMinerEvent>
extends Object
implements SerdesProvider<T>
A specialized implementation of
SerdesProvider for LogMinerEvent 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(LogMinerEvent event, SerializerOutputStream stream) Serializes the object into the output stream.
-
Constructor Details
-
LogMinerEventSerdesProvider
public LogMinerEventSerdesProvider()
-
-
Method Details
-
getJavaType
Description copied from interface:SerdesProviderGet the java type for the serialization/deserialization provider.- Specified by:
getJavaTypein interfaceSerdesProvider<T extends LogMinerEvent>- Returns:
- the java class type
-
serialize
Description copied from interface:SerdesProviderSerializes the object into the output stream.- Specified by:
serializein interfaceSerdesProvider<T extends LogMinerEvent>- 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 LogMinerEvent>- 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
-