In-memory cube base on java8 stream