Package | Description |
---|---|
org.apache.storm.streams |
Modifier and Type | Method and Description |
---|---|
<K,V> PairStream<K,V> |
StreamBuilder.newStream(IRichSpout spout,
PairValueMapper<K,V> pairValueMapper)
Creates a new
PairStream of key-value pairs from the given IRichSpout by extracting key and value from tuples via the supplied PairValueMapper . |
<K,V> PairStream<K,V> |
StreamBuilder.newStream(IRichSpout spout,
PairValueMapper<K,V> pairValueMapper,
int parallelism)
Creates a new
PairStream of key-value pairs from the given IRichSpout by extracting key and value from tuples via the supplied PairValueMapper and with the given value of parallelism. |
Copyright © 2019 The Apache Software Foundation. All rights reserved.