K - V - public class SerdesPair<K,V> extends Object
| Constructor and Description |
|---|
SerdesPair(org.apache.kafka.common.serialization.Serde<K> keySerde,
org.apache.kafka.common.serialization.Serde<V> valueSerde) |
| Modifier and Type | Method and Description |
|---|---|
<S extends org.apache.kafka.streams.processor.StateStore> |
applyTo(org.apache.kafka.streams.kstream.Materialized<K,V,S> materialized)
Apply the keySerde and valueSerde of the pair to a
Materialized |
org.apache.kafka.common.serialization.Serde<K> |
getKeySerde() |
org.apache.kafka.common.serialization.Serde<V> |
getValueSerde() |
org.apache.kafka.streams.kstream.Consumed<K,V> |
toConsumed()
Build a
Consumed using the keySerde and valueSerde of the pair |
org.apache.kafka.streams.kstream.Grouped<K,V> |
toGrouped()
Build a
Grouped using the keySerde and valueSerde of the pair |
org.apache.kafka.streams.kstream.Produced<K,V> |
toProduced()
Build a
Produced using the keySerde and valueSerde of the pair |
org.apache.kafka.streams.kstream.Serialized<K,V> |
toSerialized()
Build a
Serialized using the keySerde and valueSerde of the pair |
public org.apache.kafka.common.serialization.Serde<K> getKeySerde()
public org.apache.kafka.common.serialization.Serde<V> getValueSerde()
public org.apache.kafka.streams.kstream.Serialized<K,V> toSerialized()
Serialized using the keySerde and valueSerde of the pairpublic org.apache.kafka.streams.kstream.Grouped<K,V> toGrouped()
Grouped using the keySerde and valueSerde of the pairpublic org.apache.kafka.streams.kstream.Produced<K,V> toProduced()
Produced using the keySerde and valueSerde of the pairpublic org.apache.kafka.streams.kstream.Consumed<K,V> toConsumed()
Consumed using the keySerde and valueSerde of the pairpublic <S extends org.apache.kafka.streams.processor.StateStore> org.apache.kafka.streams.kstream.Materialized<K,V,S> applyTo(org.apache.kafka.streams.kstream.Materialized<K,V,S> materialized)
MaterializedS - materialized - Copyright © 2018. All rights reserved.