public static class TestWorkerMessages.TestWorkerMessagesPiece extends PieceWithWorkerContext<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,NoMessage,Object,org.apache.hadoop.io.LongWritable,Object>
AbstractPiece.InnerVertexReceiver, AbstractPiece.InnerVertexSender
MESSAGE_ENCODE_AND_STORE_TYPE_MIN_FORCE
Constructor and Description |
---|
TestWorkerMessagesPiece(long... values) |
Modifier and Type | Method and Description |
---|---|
void |
workerContextReceive(BlockWorkerContextReceiveApi workerContextApi,
Object executionStage,
Object workerValue,
List<org.apache.hadoop.io.LongWritable> workerMessages) |
void |
workerContextSend(BlockWorkerContextSendApi<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable> workerContextApi,
Object executionStage,
Object workerValue) |
getWorkerValue
allowOneMessageToManyIdsEncoding, getMessageClass, getMessageClasses, getMessageCombiner, getMessageFactory, getVertexSender, getWrappedVertexSender, receiveIgnoreExistingVertices, reduceDouble, reduceFloat, reduceInt, reduceLong, registerReducers, wrappedRegisterReducers
equals, forAllPossiblePieces, getPieceCount, getVertexReceiver, hashCode, iterator, masterCompute, nextExecutionStage, registerAggregators, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void workerContextSend(BlockWorkerContextSendApi<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.LongWritable> workerContextApi, Object executionStage, Object workerValue)
workerContextSend
in class AbstractPiece<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,NoMessage,Object,org.apache.hadoop.io.LongWritable,Object>
public void workerContextReceive(BlockWorkerContextReceiveApi workerContextApi, Object executionStage, Object workerValue, List<org.apache.hadoop.io.LongWritable> workerMessages)
workerContextReceive
in class AbstractPiece<org.apache.hadoop.io.LongWritable,org.apache.hadoop.io.Writable,org.apache.hadoop.io.Writable,NoMessage,Object,org.apache.hadoop.io.LongWritable,Object>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.