public static final class LabelPropagation.SendNewLabelToNeighbors<K,VV extends Comparable<VV>> extends ScatterFunction<K,VV,VV,org.apache.flink.types.NullValue> implements org.apache.flink.api.java.typeutils.ResultTypeQueryable<VV>
| Constructor and Description |
|---|
SendNewLabelToNeighbors(org.apache.flink.api.common.typeinfo.TypeInformation<VV> typeInformation) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.typeinfo.TypeInformation<VV> |
getProducedType() |
void |
sendMessages(Vertex<K,VV> vertex)
This method is invoked once per superstep for each vertex that was changed in that superstep.
|
getBroadcastSet, getDirection, getEdges, getInDegree, getIterationAggregator, getNumberOfVertices, getOutDegree, getPreviousIterationAggregate, getSuperstepNumber, postSuperstep, preSuperstep, sendMessageTo, sendMessageToAllNeighborspublic SendNewLabelToNeighbors(org.apache.flink.api.common.typeinfo.TypeInformation<VV> typeInformation)
public void sendMessages(Vertex<K,VV> vertex)
ScatterFunctionsendMessages in class ScatterFunction<K,VV extends Comparable<VV>,VV extends Comparable<VV>,org.apache.flink.types.NullValue>vertex - The vertex that was changed.public org.apache.flink.api.common.typeinfo.TypeInformation<VV> getProducedType()
getProducedType in interface org.apache.flink.api.java.typeutils.ResultTypeQueryable<VV extends Comparable<VV>>Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.