Re: Collections within POJOs/tuples

2015-04-17 Thread Stephan Ewen
Here are some rough cornerpoints for serialization efficiency in Flink: - Tuples are a bit more efficient than POJOs, because they do not support (and encode) possible subclasses and they do not involve and reflection code at all. - Arrays are more efficient than collections (collections go in

Collections within POJOs/tuples

2015-04-17 Thread Kruse, Sebastian
Hello everyone, I was just wondering, which class would be most efficient to store collections of primitive elements, and which one to store objects, within POJOs and tuples from a serialization point of view. And would it make any difference if such a collection is not embedded within a POJO/t