Package no.digipost.jdbc
Interface RowMapper.Quadrupled<T,U,V,W>
-
- All Superinterfaces:
RowMapper<Tuple<Tuple<Tuple<T,U>,V>,W>>
,RowMapper.Tripled<Tuple<T,U>,V,W>
,RowMapper.Tupled<Tuple<Tuple<T,U>,V>,W>
- All Known Subinterfaces:
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.Septupled<T,U,V,W,X,Z,A>
public static interface RowMapper.Quadrupled<T,U,V,W> extends RowMapper.Tripled<Tuple<T,U>,V,W>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface no.digipost.jdbc.RowMapper
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>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <S> RowMapper<S>
andThen(QuadFunction<? super T,? super U,? super V,? super W,S> resultMapper)
Create a new mapper which takes the four results of this mapper and applies the givenQuadFunction
to yield another result.default <X> RowMapper.Pentupled<T,U,V,W,X>
combinedWith(RowMapper<X> 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.-
Methods inherited from interface no.digipost.jdbc.RowMapper.Tripled
andThen
-
Methods inherited from interface no.digipost.jdbc.RowMapper.Tupled
andThen
-
-
-
-
Method Detail
-
andThen
default <S> RowMapper<S> andThen(QuadFunction<? super T,? super U,? super V,? super W,S> resultMapper)
Create a new mapper which takes the four results of this mapper and applies the givenQuadFunction
to yield another result.- Type Parameters:
S
- the output type of the givenresultMapper
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 <X> RowMapper.Pentupled<T,U,V,W,X> combinedWith(RowMapper<X> 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 interfaceRowMapper<T>
- Specified by:
combinedWith
in interfaceRowMapper.Tripled<T,U,V>
- Specified by:
combinedWith
in interfaceRowMapper.Tupled<T,U>
- Parameters:
otherMapper
- the mapper to run in addition to this.- Returns:
- the new mapper
-
-