Class WordCountPojo.Word
- java.lang.Object
-
- org.apache.flink.examples.java.wordcount.WordCountPojo.Word
-
- Enclosing class:
- WordCountPojo
public static class WordCountPojo.Word extends Object
This is the POJO (Plain Old Java Object) that is being used for all the operations. As long as all fields are public or have a getter/setter, the system can handle them
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFrequency()StringgetWord()voidsetFrequency(int frequency)voidsetWord(String word)StringtoString()
-
-
-
Constructor Detail
-
Word
public Word()
-
Word
public Word(String word, int i)
-
-