Class StreamingUtil

java.lang.Object
org.projectnessie.client.builder.StreamingUtil

public final class StreamingUtil extends Object
Helper and utility methods around streaming of NessieApiV1 et al.

Use the functions that return Streams in the builders that implement PagingBuilder.

  • Method Details

    • generateStream

      public static <ENTRY, RESP extends org.projectnessie.model.PaginatedResponse> Stream<ENTRY> generateStream(Function<RESP,List<ENTRY>> entriesExtractor, StreamingUtil.PageFetcher<RESP> pageFetcher) throws org.projectnessie.error.NessieNotFoundException
      Throws:
      org.projectnessie.error.NessieNotFoundException