com.hazelcast.mapreduce.impl.client
KeyIn
- type of the input keyValueIn
- type of the input valuepublic class ClientMapReduceRequest<KeyIn,ValueIn> extends InvocationClientRequest
Modifier and Type | Field and Description |
---|---|
protected int |
chunkSize |
protected CombinerFactory |
combinerFactory |
protected String |
jobId |
protected Collection |
keys |
protected KeyValueSource |
keyValueSource |
protected Mapper |
mapper |
protected String |
name |
protected KeyPredicate |
predicate |
protected ReducerFactory |
reducerFactory |
protected TopologyChangedStrategy |
topologyChangedStrategy |
callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Constructor and Description |
---|
ClientMapReduceRequest() |
ClientMapReduceRequest(String name,
String jobId,
Collection keys,
KeyPredicate predicate,
Mapper mapper,
CombinerFactory combinerFactory,
ReducerFactory reducerFactory,
KeyValueSource keyValueSource,
int chunkSize,
TopologyChangedStrategy topologyChangedStrategy) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
Permission |
getRequiredPermission() |
String |
getServiceName() |
protected void |
invoke() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
createInvocationBuilder, createInvocationBuilder, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
addFlag, create, createForDecode, createForEncode, createForEncode, getCorrelationId, getDataOffset, getFlags, getFrameLength, getMessageType, getPartitionId, getVersion, isComplete, isFlagSet, isRetryable, isUrgent, readFrom, setCorrelationId, setDataOffset, setFrameLength, setMessageType, setPartitionId, setRetryable, setVersion, toString, updateFrameLength, wrapForDecode, wrapForEncode, writeTo
buffer, getBoolean, getByteArray, getData, getDataList, getDataSet, getInt, getLong, getStringUtf8, index, index, int32Get, int32Set, set, set, set, set, set, set, set, uint16Get, uint16Put, uint32Get, uint32Put, uint8Get, uint8Put, wrap
protected String name
protected String jobId
protected Collection keys
protected KeyPredicate predicate
protected Mapper mapper
protected CombinerFactory combinerFactory
protected ReducerFactory reducerFactory
protected KeyValueSource keyValueSource
protected int chunkSize
protected TopologyChangedStrategy topologyChangedStrategy
public ClientMapReduceRequest()
public ClientMapReduceRequest(String name, String jobId, Collection keys, KeyPredicate predicate, Mapper mapper, CombinerFactory combinerFactory, ReducerFactory reducerFactory, KeyValueSource keyValueSource, int chunkSize, TopologyChangedStrategy topologyChangedStrategy)
protected void invoke()
invoke
in class InvocationClientRequest
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
public String getServiceName()
getServiceName
in class ClientRequest
public int getFactoryId()
Portable
public int getClassId()
Portable
public Permission getRequiredPermission()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.