Interface ReferenceResolver.MongoEntityReader

Enclosing interface:
ReferenceResolver
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 static interface ReferenceResolver.MongoEntityReader
Domain type conversion callback interface that allows to read the source object into a mapped object.
  • Method Summary

    Modifier and Type
    Method
    Description
    read(Object source, TypeInformation<?> typeInformation)
    Read values from the given source into an object defined via the given TypeInformation.
  • Method Details

    • read

      Object read(Object source, TypeInformation<?> typeInformation)
      Read values from the given source into an object defined via the given TypeInformation.
      Parameters:
      source - never null.
      typeInformation - information about the desired target type.
      Returns:
      never null.