Package org.apache.kafka.streams.kstream
Class Joined<K,V,VO>  
java.lang.Object
org.apache.kafka.streams.kstream.Joined<K,V,VO>  
The 
Joined class represents optional params that can be passed to
 KStream#join(KTable,...) and
 KStream#leftJoin(KTable,...) operations.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <K,V, VO> Joined<K, V, VO> Create an instance ofJoinedwith base name for all components of the join, this may include any repartition topics created to complete the join.keySerde()static <K,V, VO> Joined<K, V, VO> Create an instance ofJoinedwith a keySerde.static <K,V, VO> Joined<K, V, VO> otherValueSerde(Serde<VO> otherValueSerde) Create an instance ofJoinedwith an other valueSerde.static <K,V, VO> Joined<K, V, VO> valueSerde(Serde<V> valueSerde) Create an instance ofJoinedwith a valueSerde.static <K,V, VO> Joined<K, V, VO> Create an instance ofJoinedwith key, value, and otherValueSerdeinstances.static <K,V, VO> Joined<K, V, VO> Create an instance ofJoinedwith key, value, and otherValueSerdeinstances.withKeySerde(Serde<K> keySerde) Set the keySerdeto be used.Set the base name used for all components of the join, this may include any repartition topics created to complete the join.withOtherValueSerde(Serde<VO> otherValueSerde) Set the otherValueSerdeto be used.withValueSerde(Serde<V> valueSerde) Set the valueSerdeto be used.
- 
Field Details- 
keySerde
- 
valueSerde
- 
otherValueSerde
- 
name
 
- 
- 
Constructor Details- 
Joined
 
- 
- 
Method Details- 
withpublic static <K,V, Joined<K,VO> V, withVO> (Serde<K> keySerde, Serde<V> valueSerde, Serde<VO> otherValueSerde) Create an instance ofJoinedwith key, value, and otherValueSerdeinstances.nullvalues are accepted and will be replaced by the default serdes as defined in config.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- keySerde- the key serde to use. If- nullthe default key serde from config will be used
- valueSerde- the value serde to use. If- nullthe default value serde from config will be used
- otherValueSerde- the otherValue serde to use. If- nullthe default value serde from config will be used
- Returns:
- new Joinedinstance with the provided serdes
 
- 
withpublic static <K,V, Joined<K,VO> V, withVO> (Serde<K> keySerde, Serde<V> valueSerde, Serde<VO> otherValueSerde, String name) Create an instance ofJoinedwith key, value, and otherValueSerdeinstances.nullvalues are accepted and will be replaced by the default serdes as defined in config.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- keySerde- the key serde to use. If- nullthe default key serde from config will be used
- valueSerde- the value serde to use. If- nullthe default value serde from config will be used
- otherValueSerde- the otherValue serde to use. If- nullthe default value serde from config will be used
- name- the name used as the base for naming components of the join including any repartition topics
- Returns:
- new Joinedinstance with the provided serdes
 
- 
keySerdeCreate an instance ofJoinedwith a keySerde.nullvalues are accepted and will be replaced by the default key serde as defined in config.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- keySerde- the key serde to use. If- nullthe default key serde from config will be used
- Returns:
- new Joinedinstance configured with the keySerde
 
- 
valueSerdeCreate an instance ofJoinedwith a valueSerde.nullvalues are accepted and will be replaced by the default value serde as defined in config.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- valueSerde- the value serde to use. If- nullthe default value serde from config will be used
- Returns:
- new Joinedinstance configured with the valueSerde
 
- 
otherValueSerdeCreate an instance ofJoinedwith an other valueSerde.nullvalues are accepted and will be replaced by the default value serde as defined in config.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- otherValueSerde- the otherValue serde to use. If- nullthe default value serde from config will be used
- Returns:
- new Joinedinstance configured with the otherValueSerde
 
- 
asCreate an instance ofJoinedwith base name for all components of the join, this may include any repartition topics created to complete the join.- Type Parameters:
- K- key type
- V- value type
- VO- other value type
- Parameters:
- name- the name used as the base for naming components of the join including any repartition topics
- Returns:
- new Joinedinstance configured with the name
 
- 
withKeySerdeSet the keySerdeto be used. Null values are accepted and will be replaced by the default key serde as defined in config- Parameters:
- keySerde- the key serde to use. If null the default key serde from config will be used
- Returns:
- new Joinedinstance configured with thename
 
- 
withValueSerdeSet the valueSerdeto be used. Null values are accepted and will be replaced by the default value serde as defined in config- Parameters:
- valueSerde- the value serde to use. If null the default value serde from config will be used
- Returns:
- new Joinedinstance configured with thevalueSerde
 
- 
withOtherValueSerdeSet the otherValueSerdeto be used. Null values are accepted and will be replaced by the default value serde as defined in config- Parameters:
- otherValueSerde- the otherValue serde to use. If null the default value serde from config will be used
- Returns:
- new Joinedinstance configured with thevalueSerde
 
- 
withNameSet the base name used for all components of the join, this may include any repartition topics created to complete the join.- Parameters:
- name- the name used as the base for naming components of the join including any repartition topics
- Returns:
- new Joinedinstance configured with thename
 
- 
keySerde
- 
valueSerde
- 
otherValueSerde
 
-