Interface TableTransformer<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 TableTransformer<T>
    Transforms a table row to an instance of T.
    • Method Detail

      • transform

        T transform​(DataTable table)
             throws Throwable
        Transforms a table row to an instance of T.
        Parameters:
        table - the table
        Returns:
        an instance of T
        Throws:
        Throwable - when the transform fails for any reason