Interface RowMapper.Tripled<T,​U,​V>

    • Method Detail

      • andThen

        default <S> RowMapper<S> andThen​(TriFunction<? super T,​? super U,​? super V,​S> resultMapper)
        Create a new mapper which takes the three results of this mapper and applies the given TriFunction to yield another result.
        Type Parameters:
        S - the output type of the given resultMapper function, which also become the type of the result produced by the new row mapper.
        Parameters:
        resultMapper - the function to apply to the result
        Returns:
        the new row mapper
      • combinedWith

        default <W> RowMapper.Quadrupled<T,​U,​V,​W> combinedWith​(RowMapper<W> otherMapper)
        Description copied from interface: RowMapper
        Create a new row mapper which first runs this mapper and then the given mapper, and combines the two results into a tuple-type container.
        Specified by:
        combinedWith in interface RowMapper<T>
        Specified by:
        combinedWith in interface RowMapper.Tupled<T,​U>
        Parameters:
        otherMapper - the mapper to run in addition to this.
        Returns:
        the new mapper