Class SerializerInputStream
java.lang.Object
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.AbstractSerializerStream
io.debezium.connector.oracle.logminer.processor.ehcache.serialization.SerializerInputStream
- All Implemented Interfaces:
AutoCloseable
A reader implementation enabling the reading of data from an
InputStream.- Author:
- Chris Cranford
-
Field Summary
FieldsFields inherited from class io.debezium.connector.oracle.logminer.processor.ehcache.serialization.AbstractSerializerStream
NULL_VALUE_SENTINEL, UNAVAILABLE_VALUE_SENTINEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanRead a boolean value from the stream.Read anInstantfrom the stream.intreadInt()Read an integer value from the stream.Object[]Reads an object array from the stream.readScn()Reads an Oracle SCN value from the stream.Read a string value from the stream.protected String[]Reads a string array from the stream.Reads a DebeziumTableIdfrom the stream.protected Object[]stringArrayToObjectArray(String[] values) Convert an array of string values, typically from the encoded stream back into their Java object representations after being deserialized.
-
Field Details
-
delegate
-
-
Constructor Details
-
SerializerInputStream
-
-
Method Details
-
close
- Throws:
Exception
-
readScn
Reads an Oracle SCN value from the stream.- Returns:
- the read SCN value or
Scn.NULLif null - Throws:
IOException- when a read operation fails
-
readTableId
Reads a DebeziumTableIdfrom the stream.- Returns:
- the table id, never
null - Throws:
IOException- when a read operation fails
-
readInstant
Read anInstantfrom the stream.- Returns:
- the read instant value, never
null - Throws:
IOException- when a read operation fails
-
readBoolean
Read a boolean value from the stream.- Returns:
- the boolean value
- Throws:
IOException- when a read operation fails
-
readInt
Read an integer value from the stream.- Returns:
- the integer value
- Throws:
IOException- when a read operation fails
-
readString
Read a string value from the stream.- Returns:
- the string value or
nullwhen null - Throws:
IOException- when a read operation fails
-
readObjectArray
Reads an object array from the stream.- Returns:
- the object array, never
null - Throws:
IOException- when a read operation fails
-
readStringArray
Reads a string array from the stream.- Returns:
- the string array, never
null - Throws:
IOException- when a read operation fails
-
stringArrayToObjectArray
Convert an array of string values, typically from the encoded stream back into their Java object representations after being deserialized.- Parameters:
values- array of string values to convert- Returns:
- array of objects after conversion
-