Interface ResultConsumer<T,​RS>

  • Type Parameters:
    T - The root entity type
    RS - The result set type
    All Superinterfaces:
    java.util.function.BiConsumer<T,​ResultConsumer.Context<RS>>
    All Known Subinterfaces:
    SqlResultConsumer<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Introspected
    @FunctionalInterface
    public interface ResultConsumer<T,​RS>
    extends java.util.function.BiConsumer<T,​ResultConsumer.Context<RS>>
    A mapping function can be used as a method parameter to repository methods to allow custom mapping of results.
    Since:
    1.0.0
    Author:
    graemerocher
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  ResultConsumer.Context<RS>
      A context object that simplifies mapping results to objects.
    • Method Summary

      • Methods inherited from interface java.util.function.BiConsumer

        accept, andThen