com.hazelcast.mapreduce.impl.task
KeyIn
- type of the input keyValueIn
- type of the input valueKeyOut
- type of the emitted keyValueOut
- type of the emitted valuepublic abstract class MappingPhase<KeyIn,ValueIn,KeyOut,ValueOut> extends Object
KeyPredicate
implementations.Constructor and Description |
---|
MappingPhase(Collection<KeyIn> keys,
KeyPredicate<KeyIn> predicate) |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
protected abstract void |
executeMappingPhase(KeyValueSource<KeyIn,ValueIn> keyValueSource,
Mapper<KeyIn,ValueIn,KeyOut,ValueOut> mapper,
Context<KeyOut,ValueOut> context) |
protected boolean |
isCancelled() |
protected boolean |
matches(KeyIn key) |
protected boolean |
processingPartitionNecessary(int partitionId,
InternalPartitionService partitionService) |
public MappingPhase(Collection<KeyIn> keys, KeyPredicate<KeyIn> predicate)
public void cancel()
protected boolean isCancelled()
protected boolean processingPartitionNecessary(int partitionId, InternalPartitionService partitionService)
protected boolean matches(KeyIn key)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.