Interface ReactiveNeo4jClient.MappingSpec<T>

Type Parameters:
T - The resulting type of this mapping
All Superinterfaces:
ReactiveNeo4jClient.RecordFetchSpec<T>
Enclosing interface:
ReactiveNeo4jClient

public static interface ReactiveNeo4jClient.MappingSpec<T> extends ReactiveNeo4jClient.RecordFetchSpec<T>
Since:
6.0
  • Method Details

    • mappedBy

      ReactiveNeo4jClient.RecordFetchSpec<T> mappedBy(BiFunction<org.neo4j.driver.types.TypeSystem,org.neo4j.driver.Record,T> mappingFunction)
      The mapping function is responsible to turn one record into one domain object. It will receive the record itself and in addition, the type system that the Neo4j Java-Driver used while executing the query.
      Parameters:
      mappingFunction - The mapping function used to create new domain objects
      Returns:
      A specification how to fetch one or more records.