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)
StreamGraphHasherStreamNode 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 StreamGraphHasherCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.