- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TupleTransformer<T>Defines some transformation applied to each result of a
Querybefore the results are packaged as a
Listand returned to the caller. Each result is received as a tuple (that is, as an
Object), and may be transformed to some other type.
transformTupleTuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row shape.
tuple- The result elements
aliases- The result aliases ("parallel" array to tuple)
- The transformed row.