public static interface RowMapper.Tupled<T,U> extends RowMapper<Tuple<T,U>>
RowMapper.Decupled<T,U,V,W,X,Z,A,B,C,D>, RowMapper.Hextupled<T,U,V,W,X,Z>, RowMapper.Nonupled<T,U,V,W,X,Z,A,B,C>, RowMapper.Octupled<T,U,V,W,X,Z,A,B>, RowMapper.Pentupled<T,U,V,W,X>, RowMapper.Quadrupled<T,U,V,W>, RowMapper.Septupled<T,U,V,W,X,Z,A>, RowMapper.Tripled<T,U,V>, RowMapper.Tupled<T,U>| Modifier and Type | Method and Description |
|---|---|
default <S> RowMapper<S> |
andThen(BiFunction<? super T,? super U,S> resultMapper)
Create a new mapper which takes the two results of this mapper and applies
the given
BiFunction to yield another result. |
default <V> RowMapper.Tripled<T,U,V> |
combinedWith(RowMapper<V> otherMapper)
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.
|
default <S> RowMapper<S> andThen(BiFunction<? super T,? super U,S> resultMapper)
BiFunction to yield another result.S - the output type of the given resultMapper function,
which also become the type of the result produced by the new
row mapper.resultMapper - the function to apply to the resultdefault <V> RowMapper.Tripled<T,U,V> combinedWith(RowMapper<V> otherMapper)
RowMappercombinedWith in interface RowMapper<Tuple<T,U>>otherMapper - the mapper to run in addition to this.Copyright © 2019 Digipost. All rights reserved.