Uses of Interface
org.jdbi.v3.core.mapper.RowMapper
Packages that use RowMapper
Package
Description
The
config classes define a configuration registry starting from
each Jdbi instance.mappers take the JDBC ResultSet and produce Java results.mapper.reflect provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters.result provides the streaming interface that reads rows from JDBC
and drives the mapper and collector processes to
produce results.
The
statement package provides most of the Fluent API
to drive statement execution.Google Guice integration.Internal classes for the Guice integration, do not use directly outside Jdbi.
The
jpa plugin provides minimal support for discovering JPA
annotations like Column.vavr is a functional programming library for the JVM.-
Uses of RowMapper in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type RowMapperModifier and TypeMethodDescriptiondefault ThisConfigurable.registerRowMapper(Type type, RowMapper<?> mapper) Convenience method forgetConfig(RowMappers.class).register(type, mapper)default <T> ThisConfigurable.registerRowMapper(GenericType<T> type, RowMapper<T> mapper) Convenience method forgetConfig(RowMappers.class).register(type, mapper)default ThisConfigurable.registerRowMapper(RowMapper<?> mapper) Convenience method forgetConfig(RowMappers.class).register(mapper) -
Uses of RowMapper in org.jdbi.v3.core.mapper
Subinterfaces of RowMapper in org.jdbi.v3.core.mapperModifier and TypeInterfaceDescriptioninterfaceClasses in org.jdbi.v3.core.mapper that implement RowMapperModifier and TypeClassDescriptionprivate static classclassARowMapperimplementation to easily compose existing RowMappers.classMapEntryMapper<K,V> Maps rows toMap.Entry<K, V>, provided there are mappers registered for types K and V.classYo dawg, I heard you like maps, so I made you a mapper that maps rows intoMap<String,Object>.classAdapts aColumnMapperinto aRowMapperby mapping a single column.Fields in org.jdbi.v3.core.mapper declared as RowMapperModifier and TypeFieldDescriptionSingleColumnMapper.delegateMapEntryMapper.keyMapperprivate final RowMapper<?>InferredRowMapperFactory.mapperMapEntryMapper.valueMapperFields in org.jdbi.v3.core.mapper with type parameters of type RowMapperModifier and TypeFieldDescriptionRowMappers.cacheprivate final JdbiInterceptionChainHolder<RowMapper<?>,RowMapperFactory> RowMappers.inferenceInterceptorsMethods in org.jdbi.v3.core.mapper that return RowMapperModifier and TypeMethodDescriptionprivate static RowMapper<?>MapEntryMapper.getKeyMapper(Type keyType, ConfigRegistry config) GenericMapMapperFactory.getMapperForValueType(Class<T> valueType, ConfigRegistry config) GenericMapMapperFactory.getMapperForValueType(GenericType<T> valueType, ConfigRegistry config) private static RowMapper<?>MapEntryMapper.getValueMapper(Type valueType, ConfigRegistry config) GenericMapMapperFactory.GenericMapMapper.specialize(ResultSet rs, StatementContext ctx) JoinRowMapper.specialize(ResultSet r, StatementContext ctx) MapEntryMapper.specialize(ResultSet rs, StatementContext ctx) MapMapper.specialize(ResultSet rs, StatementContext ctx) RowMapper.specialize(ResultSet rs, StatementContext ctx) Returns a specialized row mapper, optimized for the given result set.RowViewMapper.specialize(ResultSet rs, StatementContext ctx) Methods in org.jdbi.v3.core.mapper that return types with arguments of type RowMapperModifier and TypeMethodDescriptionGenericMapMapperFactory.build(Type mapType, ConfigRegistry config) InferredRowMapperFactory.build(Type type, ConfigRegistry config) RowMapperFactory.build(Type type, ConfigRegistry config) Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.Obtain a mapper for the given type.Obtain a mapper for the given type.Mappers.findFor(GenericType<T> type) Obtain a mapper for the given type.Mappers.findFor(QualifiedType<T> type) Obtain a mapper for the given qualified type.Obtain a row mapper for the given type in the given context.Obtain a row mapper for the given type in the given context.RowMappers.findFor(GenericType<T> type) Obtain a row mapper for the given type in the given context.RowMappers.getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the RowMapper inference.Methods in org.jdbi.v3.core.mapper with parameters of type RowMapperModifier and TypeMethodDescriptionInferredRowMapperFactory.detectType(RowMapper<?> mapper) static RowMapperFactoryRegister a row mapper for a given type.<T> RowMappersRowMappers.register(GenericType<T> type, RowMapper<T> mapper) Register a row mapper for a given type.Register a row mapper which will have its parameterized type inspected to determine what it maps to.Constructors in org.jdbi.v3.core.mapper with parameters of type RowMapperModifierConstructorDescription(package private)InferredRowMapperFactory(RowMapper<?> mapper) privateMapEntryMapper(RowMapper<K> keyMapper, RowMapper<V> valueMapper) -
Uses of RowMapper in org.jdbi.v3.core.mapper.reflect
Classes in org.jdbi.v3.core.mapper.reflect that implement RowMapperModifier and TypeClassDescriptionfinal classBeanMapper<T>A row mapper which maps the columns in a statement into a JavaBean.final classA row mapper which maps the fields in a result set into a constructor.(package private) class(package private) static classfinal classFieldMapper<T>A row mapper which maps the columns in a statement into an object, using reflection to set fields on the object.(package private) classFields in org.jdbi.v3.core.mapper.reflect declared as RowMapperModifier and TypeFieldDescription(package private) final RowMapper<?>ConstructorMapper.ParameterData.mapper(package private) final RowMapper<?>FieldMapper.FieldData.mapperMethods in org.jdbi.v3.core.mapper.reflect that return RowMapperModifier and TypeMethodDescriptionstatic <T> RowMapper<T>Returns a mapper for the given bean classstatic <T> RowMapper<T>Returns a mapper for the given bean classstatic <T> RowMapper<T>Return a ConstructorMapper for the given type.static <T> RowMapper<T>Return a ConstructorMapper for the given type and prefix.static <T> RowMapper<T>ConstructorMapper.of(Constructor<T> constructor) Return a ConstructorMapper using the given constructorstatic <T> RowMapper<T>ConstructorMapper.of(Constructor<T> constructor, String prefix) Instantiate a ConstructorMapper using the given constructor and prefixstatic <T> RowMapper<T>Returns a mapper for the given bean classstatic <T> RowMapper<T>Returns a mapper for the given bean classConstructorMapper.specialize(ResultSet rs, StatementContext ctx) FieldMapper.specialize(ResultSet rs, StatementContext ctx) Methods in org.jdbi.v3.core.mapper.reflect that return types with arguments of type RowMapperModifier and TypeMethodDescriptionConstructorMapper.createSpecializedRowMapper(StatementContext ctx, List<String> columnNames, List<ColumnNameMatcher> columnNameMatchers, List<String> unmatchedColumns) FieldMapper.createSpecializedRowMapper(StatementContext ctx, List<String> columnNames, List<ColumnNameMatcher> columnNameMatchers, List<String> unmatchedColumns) Constructors in org.jdbi.v3.core.mapper.reflect with parameters of type RowMapper -
Uses of RowMapper in org.jdbi.v3.core.mapper.reflect.internal
Classes in org.jdbi.v3.core.mapper.reflect.internal that implement RowMapperModifier and TypeClassDescriptionfinal classDelegating mapper that implements the @PropagateNull semantics to check a specific column in the result set for null first.classPojoMapper<T>This class is the future home of BeanMapper functionality.(package private) classFields in org.jdbi.v3.core.mapper.reflect.internal declared as RowMapperModifier and TypeFieldDescriptionNullDelegatingMapper.delegate(package private) final RowMapper<?>PojoMapper.PropertyData.mapperMethods in org.jdbi.v3.core.mapper.reflect.internal that return RowMapperModifier and TypeMethodDescriptionNullDelegatingMapper.specialize(ResultSet rs, StatementContext ctx) PojoMapper.specialize(ResultSet rs, StatementContext ctx) Methods in org.jdbi.v3.core.mapper.reflect.internal that return types with arguments of type RowMapperModifier and TypeMethodDescriptionPojoMapperFactory.build(Type type, ConfigRegistry config) PojoMapper.createSpecializedRowMapper(StatementContext ctx, List<String> columnNames, List<ColumnNameMatcher> columnNameMatchers, List<String> unmatchedColumns) Constructors in org.jdbi.v3.core.mapper.reflect.internal with parameters of type RowMapperModifierConstructorDescriptionNullDelegatingMapper(int index, RowMapper<T> delegate) (package private)PropertyData(PojoProperties.PojoProperty<T> property, RowMapper<?> mapper) -
Uses of RowMapper in org.jdbi.v3.core.result
Methods in org.jdbi.v3.core.result with parameters of type RowMapperModifier and TypeMethodDescription<T> BatchResultIterable<T>default <T> ResultIterable<T>Maps this result set to aResultIterable, using the given row mapper.static <T> ResultIterable<T>ResultIterable.of(Supplier<ResultSet> resultSetSupplier, RowMapper<T> mapper, StatementContext ctx) Returns a ResultIterable backed by the given result set supplier, mapper, and context. -
Uses of RowMapper in org.jdbi.v3.core.result.internal
Fields in org.jdbi.v3.core.result.internal declared as RowMapperModifier and TypeFieldDescriptionResultSetResultIterable.mapperResultSetResultIterator.rowMapperFields in org.jdbi.v3.core.result.internal with type parameters of type RowMapperMethods in org.jdbi.v3.core.result.internal that return RowMapperConstructors in org.jdbi.v3.core.result.internal with parameters of type RowMapperModifierConstructorDescriptionResultSetResultIterable(RowMapper<T> mapper, StatementContext ctx, Supplier<ResultSet> resultSetSupplier) (package private)ResultSetResultIterator(ResultSet resultSet, RowMapper<T> rowMapper, StatementContext context) -
Uses of RowMapper in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement that return RowMapperModifier and TypeMethodDescription(package private) <T> RowMapper<T>SqlStatement.mapperForType(Class<T> type) (package private) RowMapper<?>SqlStatement.mapperForType(Type type) (package private) <T> RowMapper<T>SqlStatement.mapperForType(GenericType<T> type) Methods in org.jdbi.v3.core.statement that return types with arguments of type RowMapperModifier and TypeMethodDescriptionStatementContext.findMapperFor(Class<T> type) Obtain a mapper for the given type in this context.StatementContext.findMapperFor(Type type) Obtain a mapper for the given type in this context.StatementContext.findMapperFor(GenericType<T> type) Obtain a mapper for the given type in this context.StatementContext.findMapperFor(QualifiedType<T> type) Obtain a mapper for the given qualified type in this context.StatementContext.findRowMapperFor(Class<T> type) Obtain a row mapper for the given type in this context.StatementContext.findRowMapperFor(Type type) Obtain a row mapper for the given type in this context.StatementContext.findRowMapperFor(GenericType<T> type) Obtain a row mapper for the given type in this context. -
Uses of RowMapper in org.jdbi.v3.guice
Methods in org.jdbi.v3.guice that return types with arguments of type RowMapperModifier and TypeMethodDescriptiondefault com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder.bindRowMapper()Creates a new binding for aRowMapper.default com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder.bindRowMapper(Type type) default com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder.bindRowMapper(GenericType<?> genericType) Creates a new binding for aRowMapperusing aGenericType. -
Uses of RowMapper in org.jdbi.v3.guice.internal
Fields in org.jdbi.v3.guice.internal with type parameters of type RowMapperModifier and TypeFieldDescriptionInternalGlobalJdbiModule.QUALIFIED_ROW_MAPPER_TYPE_LITERALInternalJdbiBinder.qualifiedRowMapperBinderInternalGuiceJdbiCustomizer.qualifiedRowMappersInternalGlobalJdbiModule.ROW_MAPPER_TYPE_LITERALprivate final com.google.inject.multibindings.Multibinder<RowMapper<?>>InternalJdbiBinder.rowMapperBinderInternalGuiceJdbiCustomizer.rowMappersMethods in org.jdbi.v3.guice.internal that return types with arguments of type RowMapperModifier and TypeMethodDescriptioncom.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder.bindRowMapper()com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder.bindRowMapper(Type type) com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder.bindRowMapper(GenericType<?> genericType) Constructor parameters in org.jdbi.v3.guice.internal with type arguments of type RowMapperModifierConstructorDescription(package private)InternalGuiceJdbiCustomizer(Set<RowMapper<?>> rowMappers, Map<Type, RowMapper<?>> qualifiedRowMappers, Set<ColumnMapper<?>> columnMappers, Map<QualifiedType<?>, ColumnMapper<?>> qualifiedColumnMappers, Set<GuiceJdbiCustomizer> customizers, Map<Class<?>, String> arrayTypes, Set<JdbiPlugin> plugins, Map<QualifiedType<?>, Codec<?>> codecs) (package private)InternalGuiceJdbiCustomizer(Set<RowMapper<?>> rowMappers, Map<Type, RowMapper<?>> qualifiedRowMappers, Set<ColumnMapper<?>> columnMappers, Map<QualifiedType<?>, ColumnMapper<?>> qualifiedColumnMappers, Set<GuiceJdbiCustomizer> customizers, Map<Class<?>, String> arrayTypes, Set<JdbiPlugin> plugins, Map<QualifiedType<?>, Codec<?>> codecs) -
Uses of RowMapper in org.jdbi.v3.jpa
Classes in org.jdbi.v3.jpa that implement RowMapperModifier and TypeClassDescriptionclassJpaMapper<C>Row mapper for a JPA-annotated type as a result.Methods in org.jdbi.v3.jpa that return RowMapperMethods in org.jdbi.v3.jpa that return types with arguments of type RowMapper -
Uses of RowMapper in org.jdbi.v3.sqlobject.statement.internal
Methods in org.jdbi.v3.sqlobject.statement.internal that return RowMapperModifier and TypeMethodDescription(package private) static RowMapper<?>CustomizingStatementHandler.rowMapperFor(UseRowMapper annotation) -
Uses of RowMapper in org.jdbi.v3.vavr
Methods in org.jdbi.v3.vavr that return types with arguments of type RowMapperModifier and TypeMethodDescriptionVavrTupleRowMapperFactory.build(Type type, ConfigRegistry config) VavrTupleRowMapperFactory.buildMapper(Class<? extends io.vavr.Tuple> tupleClass, io.vavr.collection.Array<Optional<RowMapper<?>>> colMappers) VavrTupleRowMapperFactory.getColumnMapper(Type type, int tupleIndex, ConfigRegistry config) VavrTupleRowMapperFactory.getColumnMapperForDefinedColumn(Type type, String col, ConfigRegistry config) VavrTupleRowMapperFactory.getRowMapper(Type type, ConfigRegistry config) Method parameters in org.jdbi.v3.vavr with type arguments of type RowMapper