Package no.digipost.jdbc
Class AttributesRowMapper
java.lang.Object
no.digipost.jdbc.AttributesRowMapper
- All Implemented Interfaces:
RowMapper<AttributesMap>
A
RowMapper producing AttributesMaps.-
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> -
Constructor Summary
ConstructorsConstructorDescriptionAttributesRowMapper(Supplier<AttributesMap.Builder> attributeMapBuilderSupplier, Stream<AttributeMapper<?>> mappers) AttributesRowMapper(Supplier<AttributesMap.Builder> attributeMapBuilderSupplier, AttributeMapper<?>... mappers) AttributesRowMapper(Stream<AttributeMapper<?>> mappers) AttributesRowMapper(AttributeMapper<?>... mappers) -
Method Summary
Modifier and TypeMethodDescriptionObtain the result from the current row of aResultSet.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.digipost.jdbc.RowMapper
andThen, combinedWith
-
Constructor Details
-
AttributesRowMapper
-
AttributesRowMapper
public AttributesRowMapper(Supplier<AttributesMap.Builder> attributeMapBuilderSupplier, AttributeMapper<?>... mappers) -
AttributesRowMapper
-
AttributesRowMapper
public AttributesRowMapper(Supplier<AttributesMap.Builder> attributeMapBuilderSupplier, Stream<AttributeMapper<?>> mappers)
-
-
Method Details
-
map
Description copied from interface:RowMapperObtain the result from the current row of aResultSet.- Specified by:
mapin interfaceRowMapper<AttributesMap>- Parameters:
rs- theResultSet- Returns:
- the result
- Throws:
SQLException- if any error happens when processing theResultSet. May be if the name/label is not valid, if a database access error occurs, or this method is called on a closed result set.
-