Interface TableEntryTransformer<T>

  • Type Parameters:
    T - the target type
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @API(status=STABLE)
    @FunctionalInterface
    public interface TableEntryTransformer<T>
    Transforms a table entry to in instance of T

    A table entry consists of the cells of a row paired with the header cells.

    • Method Detail

      • transform

        T transform​(Map<String,​String> entry)
             throws Throwable
        Transforms a table entry to in instance of T.
        Parameters:
        entry - a single entry
        Returns:
        an instance of T
        Throws:
        Throwable - when the transform fails for any reason