K - the key typeV - the value typepublic class Serialized<K,V>
extends java.lang.Object
Serdes used when performing
 KStream.groupBy(KeyValueMapper, Serialized) and KStream.groupByKey(Serialized) operations.| Modifier and Type | Field | Description | 
|---|---|---|
| protected Serde<K> | keySerde | |
| protected Serde<V> | valueSerde | 
| Modifier | Constructor | Description | 
|---|---|---|
| protected  | Serialized(Serialized<K,V> serialized) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static <K,V> Serialized<K,V> | with(Serde<K> keySerde,
    Serde<V> valueSerde) | Construct a  Serializedinstance with the provided key and valueSerdes. | 
| Serialized<K,V> | withKeySerde(Serde<K> keySerde) | Construct a  Serializedinstance with the provided keySerde. | 
| Serialized<K,V> | withValueSerde(Serde<V> valueSerde) | Construct a  Serializedinstance with the provided valueSerde. | 
protected Serialized(Serialized<K,V> serialized)
public static <K,V> Serialized<K,V> with(Serde<K> keySerde, Serde<V> valueSerde)
Serialized instance with the provided key and value Serdes.
 If the Serde params are null the default serdes defined in the configs will be used.K - the key typeV - the value typekeySerde - keySerde that will be used to materialize a stream
                   if not specified the default serdes defined in the configs will be usedvalueSerde - valueSerde that will be used to materialize a stream
                   if not specified the default serdes defined in the configs will be usedSerialized configured with the provided serdespublic Serialized<K,V> withKeySerde(Serde<K> keySerde)
Serialized instance with the provided key Serde.
 If the Serde params are null the default serdes defined in the configs will be used.keySerde - keySerde that will be used to materialize a stream
                 if not specified the default serdes defined in the configs will be usedSerialized configured with the provided key serdepublic Serialized<K,V> withValueSerde(Serde<V> valueSerde)
Serialized instance with the provided value Serde.
 If the Serde params are null the default serdes defined in the configs will be used.valueSerde - valueSerde that will be used to materialize a stream
                   if not specified the default serdes defined in the configs will be usedSerialized configured with the provided key serde