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

    Modifier and Type
    Method
    Description
    Transforms a single table row to an instance of T.
  • Method Details

    • transform

      T transform(List<String> row) throws Throwable
      Transforms a single table row to an instance of T.
      Parameters:
      row - the contents of a row. Never null.
      Returns:
      an instance of T
      Throws:
      Throwable - when the transform fails for any reason