Package org.apache.kafka.streams.kstream
Class SessionWindowedSerializer<T>
java.lang.Object
org.apache.kafka.streams.kstream.SessionWindowedSerializer<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Serializer<Windowed<T>>
,org.apache.kafka.streams.kstream.internals.WindowedSerializer<T>
public class SessionWindowedSerializer<T> extends Object implements org.apache.kafka.streams.kstream.internals.WindowedSerializer<T>
-
Constructor Summary
Constructors Constructor Description SessionWindowedSerializer()
SessionWindowedSerializer(Serializer<T> inner)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.kafka.common.serialization.Serializer
serialize
-
Constructor Details
-
SessionWindowedSerializer
public SessionWindowedSerializer() -
SessionWindowedSerializer
-
-
Method Details
-
configure
Description copied from interface:Serializer
Configure this class.- Specified by:
configure
in interfaceSerializer<T>
- Parameters:
configs
- configs in key/value pairsisKey
- whether is for key or value
-
serialize
Description copied from interface:Serializer
Convertdata
into a byte array.- Specified by:
serialize
in interfaceSerializer<T>
- Parameters:
topic
- topic associated with datadata
- typed data- Returns:
- serialized bytes
-
close
public void close()Description copied from interface:Serializer
Close this serializer.This method must be idempotent as it may be called multiple times.
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceSerializer<T>
-
serializeBaseKey
- Specified by:
serializeBaseKey
in interfaceorg.apache.kafka.streams.kstream.internals.WindowedSerializer<T>
-