public class WordFrequency extends Object
This demonstrates connecting Flink with Infinispan by using InfinispanInputFormat and
InfinispanOutputFormat.
Data is located in the cache "phrases" of Infinispan server with types <Long,String> and each entry has a
phrase with 1 or more words
Output should be:
HISTOGRAM:
2 word phrases: ****** (6)
3 word phrases: ************ (12)
4 word phrases: ***************************************** (41)
5 word phrases: ********** (10)
| Constructor and Description |
|---|
WordFrequency() |
Copyright © 2015 JBoss, a division of Red Hat. All Rights Reserved.