Class InstantDeserializer
java.lang.Object
org.apache.beam.sdk.io.kafka.serialization.InstantDeserializer
- All Implemented Interfaces:
Closeable,AutoCloseable,Deserializer<Instant>
Kafka
Deserializer for Instant.
This decodes the number of milliseconds since epoch using LongDeserializer.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.common.serialization.Deserializer
deserialize, deserialize
-
Constructor Details
-
InstantDeserializer
public InstantDeserializer()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceDeserializer<Instant>
-
deserialize
- Specified by:
deserializein interfaceDeserializer<Instant>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceDeserializer<Instant>
-