Class LogicalTypeDeserializer
java.lang.Object
io.debezium.connector.cassandra.transforms.type.deserializer.LogicalTypeDeserializer
- All Implemented Interfaces:
TypeDeserializer
- Direct Known Subclasses:
DurationTypeDeserializer,InetAddressDeserializer,TimestampTypeDeserializer,TimeUUIDTypeDeserializer,UUIDTypeDeserializer
For deserializing logical-type columns in Cassandra, like UUID, TIMEUUID, Duration, etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ObjectformatDeserializedValue(org.apache.cassandra.db.marshal.AbstractType<?> abstractType, Object value) Format deserialized value from Cassandra to an object that fits it's kafka Schema.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.connector.cassandra.transforms.type.deserializer.TypeDeserializer
deserialize, getSchemaBuilder
-
Constructor Details
-
LogicalTypeDeserializer
public LogicalTypeDeserializer()
-
-
Method Details
-
formatDeserializedValue
public abstract Object formatDeserializedValue(org.apache.cassandra.db.marshal.AbstractType<?> abstractType, Object value) Format deserialized value from Cassandra to an object that fits it's kafka Schema.- Parameters:
abstractType- theAbstractTypeof a column in cassandravalue- the deserialized value of a column in cassandra- Returns:
- the formatted object from deserialized value
-