Package org.apache.kafka.streams.kstream
Interface ValueTransformerWithKeySupplier<K,V,VR>
- 
- Type Parameters:
- K- key type
- V- value type
- VR- transformed value type
 - All Superinterfaces:
- ConnectedStoreProvider,- Supplier<ValueTransformerWithKey<K,V,VR>>
 
 public interface ValueTransformerWithKeySupplier<K,V,VR> extends ConnectedStoreProvider, Supplier<ValueTransformerWithKey<K,V,VR>> AValueTransformerWithKeySupplierinterface which can create one or moreValueTransformerWithKeyinstances.The supplier should always generate a new instance each time get()gets called. Creating a singleValueTransformerWithKeyobject and returning the same object reference inget()would be a violation of the supplier pattern and leads to runtime exceptions.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueTransformerWithKey<K,V,VR>get()Return a newly constructedValueTransformerWithKeyinstance.- 
Methods inherited from interface org.apache.kafka.streams.processor.ConnectedStoreProviderstores
 
- 
 
- 
- 
- 
Method Detail- 
getValueTransformerWithKey<K,V,VR> get() Return a newly constructedValueTransformerWithKeyinstance. The supplier should always generate a new instance each timeget()gets called.Creating a single ValueTransformerWithKeyobject and returning the same object reference inget()is a violation of the supplier pattern and leads to runtime exceptions.- Specified by:
- getin interface- Supplier<K>
- Returns:
- a new ValueTransformerWithKeyinstance
 
 
- 
 
-