public class ReplyWithInputSplitRequest extends WritableRequest implements WorkerRequest
conf, UNKNOWN_SIZE
Constructor and Description |
---|
ReplyWithInputSplitRequest()
Constructor used for reflection only
|
ReplyWithInputSplitRequest(InputType splitType,
byte[] serializedInputSplit)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
doRequest(ServerData serverData)
Execute the request
|
RequestType |
getType()
Get the type of the request
|
getClientId, getConf, getRequestId, getSerializedSize, readFields, setClientId, setConf, setRequestId, write
public ReplyWithInputSplitRequest(InputType splitType, byte[] serializedInputSplit)
splitType
- Type of input splitserializedInputSplit
- Serialized input splitpublic ReplyWithInputSplitRequest()
public void doRequest(ServerData serverData)
WorkerRequest
doRequest
in interface WorkerRequest
serverData
- Accessible data that can be mutated per the requestpublic RequestType getType()
WritableRequest
getType
in class WritableRequest
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.