Interface RowTransformer<T>

All Known Implementing Classes:
RowTransformerArrayImpl, RowTransformerCheckingImpl, RowTransformerConstructorImpl, RowTransformerJpaTupleImpl, RowTransformerListImpl, RowTransformerMapImpl, RowTransformerSingularReturnImpl, RowTransformerStandardImpl, RowTransformerTupleTransformerAdapter

@Incubating public interface RowTransformer<T>
Defines transformation of a raw row in the domain query result row. E.g. a query might select multiple
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    determineNumberOfResultElements(int rawElementCount)
    How many result elements will this transformation produce?
    Transform the "raw" row values into the ultimate query result (for a row)
  • Method Details

    • transformRow

      T transformRow(Object[] row)
      Transform the "raw" row values into the ultimate query result (for a row)
    • determineNumberOfResultElements

      default int determineNumberOfResultElements(int rawElementCount)
      How many result elements will this transformation produce?