Interface ResultTransformer<T>

All Superinterfaces:
Function<Result,T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ResultTransformer<T> extends Function<Result,T>
Interface used in GraphDatabaseService for consuming and transforming results of queries that are executed by the database service in separate isolated managed transaction. Implementations should be able to process query results but should be aware that Result itself and any other transactional entities will not gonna be usable after transaction completion.
  • Field Details

    • EMPTY_TRANSFORMER

      static final ResultTransformer<Void> EMPTY_TRANSFORMER
      Result consumer that does nothing