Utility classes that help developers use Java 8 streams to implement memory efficient, lazily evaluated IO processing without sacradicing a clean API and strong separation of concerns.
-
QueryStreamer: Queries datasources via JDBC and wraps the returned RecordSet cursor in a Java 8 stream API to permit memory efficient, performant processing of large data sets.
-
StreamInputStream: An InputStream implementation that takes a Java 8 stream of byte arrays as its data source, allowing you to pipe the contents of a stream to any consumer of binary data that takes an InputStream.