@Override
        protected QualifiedType<?> elementType(ConfigRegistry config) {
            // if returnType is not supported by a collector factory, assume it to be a single-value return type.
            return returnType.flatMapType(type -> config.get(JdbiCollectors.class).findElementTypeFor(type))
                .orElse(returnType);
        }
Inspect a Method for a {@link Consumer} to execute for each produced row.

@param method the method called
@return a ResultReturner that invokes the consumer and does not return a value
sqlobject/src/main/java/org/jdbi/v3/sqlobject/statement/internal/ResultReturner.java