Interface DocumentAdapter<T>

  • All Known Implementing Classes:
    DocumentAdapter.Identity

    public interface DocumentAdapter<T>
    Class that takes specific values and transforms them into other values.
    See Also:
    Document
    • Method Detail

      • adapt

        Object adapt​(T value)
        Takes an input value and returns an output value. The returned value(s) are scanned for properties to index. The value itself is not indexed.
        Parameters:
        value - the value to adapt
        Returns:
        the values to work with later on. May be any Object, arrays and collections are dived into