Package com.hazelcast.jet.pipeline
Interface IMapExtension<T,K>
- Type Parameters:
T- type of the input itemK- type of the key
- All Superinterfaces:
com.hazelcast.jet.pipeline.BatchStage.StageExtension<T,,IMapExtension.IMapBatchStage<T>> com.hazelcast.jet.pipeline.BatchStageWithKey.StageExtension<T,,K, IMapExtension.IMapBatchStageWithKey<T, K>> com.hazelcast.jet.pipeline.StreamStage.StageExtension<T,,IMapExtension.IMapStreamStage<T>> com.hazelcast.jet.pipeline.StreamStageWithKey.StageExtension<T,K, IMapExtension.IMapStreamStageWithKey<T, K>>
public interface IMapExtension<T,K>
extends com.hazelcast.jet.pipeline.StreamStage.StageExtension<T,IMapExtension.IMapStreamStage<T>>, com.hazelcast.jet.pipeline.StreamStageWithKey.StageExtension<T,K,IMapExtension.IMapStreamStageWithKey<T,K>>, com.hazelcast.jet.pipeline.BatchStage.StageExtension<T,IMapExtension.IMapBatchStage<T>>, com.hazelcast.jet.pipeline.BatchStageWithKey.StageExtension<T,K,IMapExtension.IMapBatchStageWithKey<T,K>>
Extends Pipeline stage with convenient methods utilising IMap in addition to
GeneralStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>) available in basic stages.- Since:
- 5.7
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toBatchStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.static interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toBatchStageWithKey.mapUsingIMap(java.lang.String, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.static interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toGeneralStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.static interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toGeneralStageWithKey.mapUsingIMap(java.lang.String, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.static interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toStreamStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.static interfaceExtends Pipeline stage with convenient methods utilising IMap in addition toStreamStageWithKey.mapUsingIMap(java.lang.String, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <T,K> IMapExtension<T, K> Extends Pipeline stage with convenient methods utilising IMap in addition toGeneralStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.Methods inherited from interface com.hazelcast.jet.pipeline.BatchStage.StageExtension
extendMethods inherited from interface com.hazelcast.jet.pipeline.BatchStageWithKey.StageExtension
extendMethods inherited from interface com.hazelcast.jet.pipeline.StreamStage.StageExtension
extendMethods inherited from interface com.hazelcast.jet.pipeline.StreamStageWithKey.StageExtension
extend
-
Method Details
-
iMapExtension
Extends Pipeline stage with convenient methods utilising IMap in addition toGeneralStage.mapUsingIMap(java.lang.String, com.hazelcast.function.FunctionEx<? super T, ? extends K>, com.hazelcast.function.BiFunctionEx<? super T, ? super V, ? extends R>)available in basic stages.Example use:
import static com.hazelcast.jet.pipeline.IMapExtension.iMapExtension; srcStage.using(iMapExtension()) // additional methods available here .mapUsingPutIfAbsent("my-map", e -> e % 10, e -> e + 5, Tuple3::tuple3) // back to regular stage API .writeTo(Sinks.logger());- Type Parameters:
T- type of the input itemK- type of the key- Returns:
- extension implementation
- Since:
- 5.7
-