Package no.digipost.jdbc
Interface RowMapper.Hextupled<T,U,V,W,X,Z>
- All Superinterfaces:
RowMapper<Tuple<Tuple<Tuple<Tuple<Tuple<T,,U>, V>, W>, X>, Z>> RowMapper.Pentupled<Tuple<T,,U>, V, W, X, Z> RowMapper.Quadrupled<Tuple<Tuple<T,,U>, V>, W, X, Z> RowMapper.Tripled<Tuple<Tuple<Tuple<T,,U>, V>, W>, X, Z> RowMapper.Tupled<Tuple<Tuple<Tuple<Tuple<T,U>, V>, W>, X>, Z>
- All Known Subinterfaces:
RowMapper.Decupled<T,,U, V, W, X, Z, A, B, C, D> RowMapper.Nonupled<T,,U, V, W, X, Z, A, B, C> RowMapper.Octupled<T,,U, V, W, X, Z, A, B> RowMapper.Septupled<T,U, V, W, X, Z, A>
public static interface RowMapper.Hextupled<T,U,V,W,X,Z>
extends RowMapper.Pentupled<Tuple<T,U>,V,W,X,Z>
-
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
Modifier and TypeMethodDescriptiondefault <S> RowMapper<S>Create a new mapper which takes the six results of this mapper and applies the givenHexaFunctionto yield another result.combinedWith(RowMapper<A> 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.Pentupled
andThenMethods inherited from interface no.digipost.jdbc.RowMapper.Quadrupled
andThenMethods inherited from interface no.digipost.jdbc.RowMapper.Tripled
andThenMethods inherited from interface no.digipost.jdbc.RowMapper.Tupled
andThen
-
Method Details
-
andThen
default <S> RowMapper<S> andThen(HexaFunction<? super T, ? super U, ? super V, ? super W, ? super X, ? super Z, S> resultMapper) Create a new mapper which takes the six results of this mapper and applies the givenHexaFunctionto yield another result.- Type Parameters:
S- the output type of the givenresultMapperfunction, 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
Description copied from interface:RowMapperCreate 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:
combinedWithin interfaceRowMapper<T>- Specified by:
combinedWithin interfaceRowMapper.Pentupled<T,U, V, W, X> - Specified by:
combinedWithin interfaceRowMapper.Quadrupled<T,U, V, W> - Specified by:
combinedWithin interfaceRowMapper.Tripled<T,U, V> - Specified by:
combinedWithin interfaceRowMapper.Tupled<T,U> - Parameters:
otherMapper- the mapper to run in addition to this.- Returns:
- the new mapper
-