K
- the key typeV
- the value typeGrouped
instead@Deprecated public class Serialized<K,V> extends Object
Serde
s used when performing
KStream.groupBy(KeyValueMapper, Serialized)
and KStream.groupByKey(Serialized)
operations.Modifier and Type | Field and Description |
---|---|
protected Serde<K> |
keySerde
Deprecated.
|
protected Serde<V> |
valueSerde
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
Serialized(Serialized<K,V> serialized)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Serialized<K,V> |
with(Serde<K> keySerde,
Serde<V> valueSerde)
Deprecated.
Construct a
Serialized instance with the provided key and value Serde s. |
Serialized<K,V> |
withKeySerde(Serde<K> keySerde)
Deprecated.
Construct a
Serialized instance with the provided key Serde . |
Serialized<K,V> |
withValueSerde(Serde<V> valueSerde)
Deprecated.
Construct a
Serialized instance with the provided value Serde . |
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 Serde
s.
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