Interface ResultHandler<T>
public interface ResultHandler<T>
ResultHandler
- Version:
- 0.0.1
- Author:
- scx567888
-
Method Summary
Modifier and TypeMethodDescriptiondefault Tstatic <C> ResultHandler<C> ofBean(BeanBuilder<C> beanBuilder) static <C> ResultHandler<C> static <C> ResultHandler<C> static <C> ResultHandler<Void> ofBeanConsumer(BeanBuilder<C> beanBuilder, Consumer<C> consumer) static <C> ResultHandler<Void> ofBeanConsumer(Class<C> clazz, Consumer<C> consumer) static <C> ResultHandler<Void> static <C> ResultHandler<List<C>> ofBeanList(BeanBuilder<C> beanBuilder) static <C> ResultHandler<List<C>> ofBeanList(Class<C> clazz) static <C> ResultHandler<List<C>> ofBeanList(Class<C> clazz, Function<Field, String> columnNameMapping) static ResultHandler<Map<String, Object>> ofMap()static ResultHandler<Map<String, Object>> static ResultHandler<Void> ofMapConsumer(Consumer<Map<String, Object>> consumer) static ResultHandler<Void> static ResultHandler<List<Map<String, Object>>> static ResultHandler<List<Map<String, Object>>> static <C> ResultHandler<C> ofSingleValue(int columnIndex, Class<C> clazz) static <C> ResultHandler<C> ofSingleValue(String columnName, Class<C> clazz)
-
Method Details
-
ofMap
-
ofMap
-
ofMapList
-
ofMapList
-
ofBean
-
ofBean
-
ofBean
-
ofBeanList
-
ofBeanList
-
ofBeanList
-
ofBeanConsumer
-
ofBeanConsumer
-
ofBeanConsumer
-
ofMapConsumer
-
ofMapConsumer
-
ofSingleValue
-
ofSingleValue
-
apply
- Throws:
SQLException
-
apply
- Throws:
SQLException
-