Class LogicalTypeDeserializer
- java.lang.Object
-
- io.debezium.connector.cassandra.transforms.type.deserializer.TypeDeserializer
-
- io.debezium.connector.cassandra.transforms.type.deserializer.LogicalTypeDeserializer
-
- Direct Known Subclasses:
DurationTypeDeserializer,InetAddressDeserializer,TimestampTypeDeserializer,TimeUUIDTypeDeserializer,UUIDTypeDeserializer
public abstract class LogicalTypeDeserializer extends TypeDeserializer
For deserializing logical-type columns in Cassandra, like UUID, TIMEUUID, Duration, etc.
-
-
Constructor Summary
Constructors Constructor Description LogicalTypeDeserializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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 io.debezium.connector.cassandra.transforms.type.deserializer.TypeDeserializer
deserialize, getSchemaBuilder
-
-
-
-
Method Detail
-
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
-
-