Uses of Interface
org.apache.juneau.beanquery.sql.SqlRowMapper
Packages that use SqlRowMapper
-
Uses of SqlRowMapper in org.apache.juneau.beanquery.sql
Methods in org.apache.juneau.beanquery.sql that return SqlRowMapperModifier and TypeMethodDescriptionstatic <T> SqlRowMapper<T>A built-in row mapper that maps each row to a new instance oftype: arecord(via its canonical constructor) or a concrete class with a public no-arg constructor and public setters (setX/withXreturningvoidor the bean type, so fluent setters work) or public non-final fields.static <T> SqlRowMapper<T>Same asbean(Class), but follows the bean rules of existing bean metadata, for example the metadata of the serializer that renders the rows, so column names match the property names it emits.static SqlRowMapper<Map<String,Object>> SqlRowMapper.map()A built-in row mapper that maps each row to a newLinkedHashMap, keyed by the logical column name inSELECTorder, with each value read viaResultSet.getObject(int)(the driver's natural type;null for SQLNULL).Methods in org.apache.juneau.beanquery.sql with parameters of type SqlRowMapperModifier and TypeMethodDescriptionSqlBeanQueryContext.Builder.rowMapper(SqlRowMapper<T> value) Sets howfindandstreamturn a row into a bean, overriding the defaultSqlBeanQueryContext.Builder.build()would pick from the row type.