Add mongo dependency.
Understanding Splitterator.
Try Streams.
Mongoing.