Interface ToDocumentValueConverter<V,​F>

  • Type Parameters:
    V - The type of source values.
    F - The type of target values in the document model.
    All Known Subinterfaces:

    public interface ToDocumentValueConverter<V,​F>
    A converter from a source value to a target value in the document model.
    • Method Detail

      • toDocumentValue

        F toDocumentValue​(V value,
                          ToDocumentValueConvertContext context)
        value - The source value to convert to the document model.
        context - A context that can be extended to a more useful type, giving access to such things as a Hibernate ORM SessionFactory (if using the Hibernate ORM mapper).
        The converted index field value.