public class StreamGraphUserHashHasher extends Object implements StreamGraphHasher
Constructor and Description |
---|
StreamGraphUserHashHasher() |
Modifier and Type | Method and Description |
---|---|
Map<Integer,byte[]> |
traverseStreamGraphAndGenerateHashes(StreamGraph streamGraph)
Returns a map with a hash for each
StreamNode of the StreamGraph . |
public Map<Integer,byte[]> traverseStreamGraphAndGenerateHashes(StreamGraph streamGraph)
StreamGraphHasher
StreamNode
of the StreamGraph
. The hash is used as the JobVertexID
in order to
identify nodes across job submissions if they didn't change.traverseStreamGraphAndGenerateHashes
in interface StreamGraphHasher
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.