Uses of Interface
org.jdbi.v3.core.mapper.RowMapper
-
Packages that use RowMapper Package Description org.jdbi.v3.core.config Theconfigclasses define a configuration registry starting from eachJdbiinstance.org.jdbi.v3.core.mapper mappers take the JDBC ResultSet and produce Java results.org.jdbi.v3.core.mapper.reflect mapper.reflectprovides RowMappers that reflectively construct result types using techniques like constructor injection or JavaBeans setters.org.jdbi.v3.core.mapper.reflect.internal org.jdbi.v3.core.result resultprovides the streaming interface that reads rows from JDBC and drives themapperandcollectorprocesses to produce results.org.jdbi.v3.core.result.internal org.jdbi.v3.core.statement Thestatementpackage provides most of the Fluent API to drive statement execution.org.jdbi.v3.guice Google Guiceintegration.org.jdbi.v3.guice.internal Internal classes for the Guice integration, do not use directly outside Jdbi.org.jdbi.v3.jpa Thejpaplugin provides minimal support for discovering JPA annotations likeColumn.org.jdbi.v3.sqlobject.config Thesqlobject.configpackage defines configuration annotations that modify theJdbiconfiguration used as the context for executing SqlObject methods, such as registering handled types.org.jdbi.v3.sqlobject.statement Thesqlobject.statementannotations declare the type of statement that a SqlObject method should create, such as a@SqlQueryto return rows or a@SqlUpdateto modify rows and return the modification count.org.jdbi.v3.sqlobject.statement.internal org.jdbi.v3.vavr vavris 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 RowMapper Modifier and Type Method Description default ThisConfigurable. registerRowMapper(java.lang.reflect.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.mapper Modifier and Type Interface Description interfaceRowViewMapper<T>Classes in org.jdbi.v3.core.mapper that implement RowMapper Modifier and Type Class Description private static classGenericMapMapperFactory.GenericMapMapper<T>classJoinRowMapperARowMapperimplementation to easily compose existing RowMappers.classMapEntryMapper<K,V>Maps rows toMap.Entry<K, V>, provided there are mappers registered for types K and V.classMapMapperYo dawg, I heard you like maps, so I made you a mapper that maps rows intoMap<String,Object>.classSingleColumnMapper<T>Adapts aColumnMapperinto aRowMapperby mapping a single column.Fields in org.jdbi.v3.core.mapper declared as RowMapper Modifier and Type Field Description private RowMapper<T>SingleColumnMapper. delegateprivate RowMapper<K>MapEntryMapper. keyMapperprivate RowMapper<?>InferredRowMapperFactory. mapperprivate RowMapper<V>MapEntryMapper. valueMapperFields in org.jdbi.v3.core.mapper with type parameters of type RowMapper Modifier and Type Field Description private java.util.Map<java.lang.reflect.Type,java.util.Optional<RowMapper<?>>>RowMappers. cacheprivate JdbiInterceptionChainHolder<RowMapper<?>,RowMapperFactory>RowMappers. inferenceInterceptorsMethods in org.jdbi.v3.core.mapper that return RowMapper Modifier and Type Method Description private static RowMapper<?>MapEntryMapper. getKeyMapper(java.lang.reflect.Type keyType, ConfigRegistry config)static <T> RowMapper<java.util.Map<java.lang.String,T>>GenericMapMapperFactory. getMapperForValueType(java.lang.Class<T> valueType, ConfigRegistry config)static <T> RowMapper<java.util.Map<java.lang.String,T>>GenericMapMapperFactory. getMapperForValueType(GenericType<T> valueType, ConfigRegistry config)private static RowMapper<?>MapEntryMapper. getValueMapper(java.lang.reflect.Type valueType, ConfigRegistry config)RowMapper<java.util.Map<java.lang.String,T>>GenericMapMapperFactory.GenericMapMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)RowMapper<JoinRow>JoinRowMapper. specialize(java.sql.ResultSet r, StatementContext ctx)RowMapper<java.util.Map.Entry<K,V>>MapEntryMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)RowMapper<java.util.Map<java.lang.String,java.lang.Object>>MapMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)default RowMapper<T>RowMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)Returns a specialized row mapper, optimized for the given result set.default RowMapper<T>RowViewMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)Methods in org.jdbi.v3.core.mapper that return types with arguments of type RowMapper Modifier and Type Method Description java.util.Optional<RowMapper<?>>GenericMapMapperFactory. build(java.lang.reflect.Type mapType, ConfigRegistry config)java.util.Optional<RowMapper<?>>InferredRowMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<RowMapper<?>>RowMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.<T> java.util.Optional<RowMapper<T>>Mappers. findFor(java.lang.Class<T> type)Obtain a mapper for the given type.java.util.Optional<RowMapper<?>>Mappers. findFor(java.lang.reflect.Type type)Obtain a mapper for the given type.<T> java.util.Optional<RowMapper<T>>Mappers. findFor(GenericType<T> type)Obtain a mapper for the given type.<T> java.util.Optional<RowMapper<T>>Mappers. findFor(QualifiedType<T> type)Obtain a mapper for the given qualified type.<T> java.util.Optional<RowMapper<T>>RowMappers. findFor(java.lang.Class<T> type)Obtain a row mapper for the given type in the given context.java.util.Optional<RowMapper<?>>RowMappers. findFor(java.lang.reflect.Type type)Obtain a row mapper for the given type in the given context.<T> java.util.Optional<RowMapper<T>>RowMappers. findFor(GenericType<T> type)Obtain a row mapper for the given type in the given context.JdbiInterceptionChainHolder<RowMapper<?>,RowMapperFactory>RowMappers. getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the RowMapper inference.Methods in org.jdbi.v3.core.mapper with parameters of type RowMapper Modifier and Type Method Description (package private) static java.util.Optional<java.lang.reflect.Type>InferredRowMapperFactory. detectType(RowMapper<?> mapper)static RowMapperFactoryRowMapperFactory. of(java.lang.reflect.Type type, RowMapper<?> mapper)Create a RowMapperFactory from a givenRowMapperthat matches aTypeexactly.RowMappersRowMappers. register(java.lang.reflect.Type type, RowMapper<?> mapper)Register a row mapper for a given type.<T> RowMappersRowMappers. register(GenericType<T> type, RowMapper<T> mapper)Register a row mapper for a given type.RowMappersRowMappers. register(RowMapper<?> mapper)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 RowMapper Constructor Description InferredRowMapperFactory(RowMapper<?> mapper)MapEntryMapper(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 RowMapper Modifier and Type Class Description classBeanMapper<T>A row mapper which maps the columns in a statement into a JavaBean.classConstructorMapper<T>A row mapper which maps the fields in a result set into a constructor.(package private) classConstructorMapper.BoundConstructorMapper(package private) static classConstructorMapper.UnmatchedConstructorMapper<T>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) classFieldMapper.BoundFieldMapperFields in org.jdbi.v3.core.mapper.reflect declared as RowMapper Modifier and Type Field Description (package private) RowMapper<?>ConstructorMapper.ParameterData. mapper(package private) RowMapper<?>FieldMapper.FieldData. mapperMethods in org.jdbi.v3.core.mapper.reflect that return RowMapper Modifier and Type Method Description static <T> RowMapper<T>BeanMapper. of(java.lang.Class<T> type)Returns a mapper for the given bean classstatic <T> RowMapper<T>BeanMapper. of(java.lang.Class<T> type, java.lang.String prefix)Returns a mapper for the given bean classstatic <T> RowMapper<T>ConstructorMapper. of(java.lang.Class<T> type)Return a ConstructorMapper for the given type.static <T> RowMapper<T>ConstructorMapper. of(java.lang.Class<T> type, java.lang.String prefix)Return a ConstructorMapper for the given type and prefix.static <T> RowMapper<T>ConstructorMapper. of(java.lang.reflect.Constructor<T> constructor)Return a ConstructorMapper using the given constructorstatic <T> RowMapper<T>ConstructorMapper. of(java.lang.reflect.Constructor<T> constructor, java.lang.String prefix)Instantiate a ConstructorMapper using the given constructor and prefixstatic <T> RowMapper<T>FieldMapper. of(java.lang.Class<T> type)Returns a mapper for the given bean classstatic <T> RowMapper<T>FieldMapper. of(java.lang.Class<T> type, java.lang.String prefix)Returns a mapper for the given bean classRowMapper<T>ConstructorMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)RowMapper<T>FieldMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)Methods in org.jdbi.v3.core.mapper.reflect that return types with arguments of type RowMapper Modifier and Type Method Description private java.util.Optional<RowMapper<T>>ConstructorMapper. createSpecializedRowMapper(StatementContext ctx, java.util.List<java.lang.String> columnNames, java.util.List<ColumnNameMatcher> columnNameMatchers, java.util.List<java.lang.String> unmatchedColumns)private java.util.Optional<RowMapper<T>>FieldMapper. createSpecializedRowMapper(StatementContext ctx, java.util.List<java.lang.String> columnNames, java.util.List<ColumnNameMatcher> columnNameMatchers, java.util.List<java.lang.String> unmatchedColumns)Constructors in org.jdbi.v3.core.mapper.reflect with parameters of type RowMapper Constructor Description FieldData(java.lang.reflect.Field field, RowMapper<?> mapper)ParameterData(int index, java.lang.reflect.Parameter parameter, RowMapper<?> mapper) -
Uses of RowMapper in org.jdbi.v3.core.mapper.reflect.internal
Classes in org.jdbi.v3.core.mapper.reflect.internal that implement RowMapper Modifier and Type Class Description classNullDelegatingMapper<T>Delegating 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) classPojoMapper.BoundPojoMapperFields in org.jdbi.v3.core.mapper.reflect.internal declared as RowMapper Modifier and Type Field Description private RowMapper<T>NullDelegatingMapper. delegate(package private) RowMapper<?>PojoMapper.PropertyData. mapperMethods in org.jdbi.v3.core.mapper.reflect.internal that return RowMapper Modifier and Type Method Description RowMapper<T>NullDelegatingMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)RowMapper<T>PojoMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)Methods in org.jdbi.v3.core.mapper.reflect.internal that return types with arguments of type RowMapper Modifier and Type Method Description java.util.Optional<RowMapper<?>>PojoMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)private java.util.Optional<RowMapper<T>>PojoMapper. createSpecializedRowMapper(StatementContext ctx, java.util.List<java.lang.String> columnNames, java.util.List<ColumnNameMatcher> columnNameMatchers, java.util.List<java.lang.String> unmatchedColumns)Constructors in org.jdbi.v3.core.mapper.reflect.internal with parameters of type RowMapper Constructor Description NullDelegatingMapper(int index, RowMapper<T> delegate)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 RowMapper Modifier and Type Method Description <T> BatchResultIterable<T>BatchResultBearing. map(RowMapper<T> mapper)default <T> ResultIterable<T>ResultBearing. map(RowMapper<T> mapper)Maps this result set to aResultIterable, using the given row mapper.static <T> ResultIterable<T>ResultIterable. of(java.util.function.Supplier<java.sql.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 RowMapper Modifier and Type Field Description private RowMapper<T>ResultSetResultIterable. mapperprivate RowMapper<T>ResultSetResultIterator. rowMapperFields in org.jdbi.v3.core.result.internal with type parameters of type RowMapper Modifier and Type Field Description private java.util.Map<java.lang.reflect.Type,RowMapper<?>>RowViewImpl. rowMappersMethods in org.jdbi.v3.core.result.internal that return RowMapper Modifier and Type Method Description private RowMapper<?>RowViewImpl. rowMapperFor(java.lang.reflect.Type type)Constructors in org.jdbi.v3.core.result.internal with parameters of type RowMapper Constructor Description ResultSetResultIterable(RowMapper<T> mapper, StatementContext ctx, java.util.function.Supplier<java.sql.ResultSet> resultSetSupplier)ResultSetResultIterator(java.sql.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 RowMapper Modifier and Type Method Description (package private) <T> RowMapper<T>SqlStatement. mapperForType(java.lang.Class<T> type)(package private) RowMapper<?>SqlStatement. mapperForType(java.lang.reflect.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 RowMapper Modifier and Type Method Description <T> java.util.Optional<RowMapper<T>>StatementContext. findMapperFor(java.lang.Class<T> type)Obtain a mapper for the given type in this context.java.util.Optional<RowMapper<?>>StatementContext. findMapperFor(java.lang.reflect.Type type)Obtain a mapper for the given type in this context.<T> java.util.Optional<RowMapper<T>>StatementContext. findMapperFor(GenericType<T> type)Obtain a mapper for the given type in this context.<T> java.util.Optional<RowMapper<T>>StatementContext. findMapperFor(QualifiedType<T> type)Obtain a mapper for the given qualified type in this context.<T> java.util.Optional<RowMapper<T>>StatementContext. findRowMapperFor(java.lang.Class<T> type)Obtain a row mapper for the given type in this context.java.util.Optional<RowMapper<?>>StatementContext. findRowMapperFor(java.lang.reflect.Type type)Obtain a row mapper for the given type in this context.<T> java.util.Optional<RowMapper<T>>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 RowMapper Modifier and Type Method Description default com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder. bindRowMapper()Creates a new binding for aRowMapper.default com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder. bindRowMapper(java.lang.reflect.Type type)Creates a new binding for aRowMapperusing aType.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 RowMapper Modifier and Type Field Description private static com.google.inject.TypeLiteral<java.util.Map<java.lang.reflect.Type,RowMapper<?>>>InternalGlobalJdbiModule. QUALIFIED_ROW_MAPPER_TYPE_LITERALprivate com.google.inject.multibindings.MapBinder<java.lang.reflect.Type,RowMapper<?>>InternalJdbiBinder. qualifiedRowMapperBinderprivate java.util.Map<java.lang.reflect.Type,RowMapper<?>>InternalGuiceJdbiCustomizer. qualifiedRowMappersprivate static com.google.inject.TypeLiteral<java.util.Set<RowMapper<?>>>InternalGlobalJdbiModule. ROW_MAPPER_TYPE_LITERALprivate com.google.inject.multibindings.Multibinder<RowMapper<?>>InternalJdbiBinder. rowMapperBinderprivate java.util.Set<RowMapper<?>>InternalGuiceJdbiCustomizer. rowMappersMethods in org.jdbi.v3.guice.internal that return types with arguments of type RowMapper Modifier and Type Method Description com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder. bindRowMapper()com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder. bindRowMapper(java.lang.reflect.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 RowMapper Constructor Description InternalGuiceJdbiCustomizer(java.util.Set<RowMapper<?>> rowMappers, java.util.Map<java.lang.reflect.Type,RowMapper<?>> qualifiedRowMappers, java.util.Set<ColumnMapper<?>> columnMappers, java.util.Map<QualifiedType<?>,ColumnMapper<?>> qualifiedColumnMappers, java.util.Set<GuiceJdbiCustomizer> customizers, java.util.Map<java.lang.Class<?>,java.lang.String> arrayTypes, java.util.Set<JdbiPlugin> plugins, java.util.Map<QualifiedType<?>,Codec<?>> codecs)InternalGuiceJdbiCustomizer(java.util.Set<RowMapper<?>> rowMappers, java.util.Map<java.lang.reflect.Type,RowMapper<?>> qualifiedRowMappers, java.util.Set<ColumnMapper<?>> columnMappers, java.util.Map<QualifiedType<?>,ColumnMapper<?>> qualifiedColumnMappers, java.util.Set<GuiceJdbiCustomizer> customizers, java.util.Map<java.lang.Class<?>,java.lang.String> arrayTypes, java.util.Set<JdbiPlugin> plugins, java.util.Map<QualifiedType<?>,Codec<?>> codecs) -
Uses of RowMapper in org.jdbi.v3.jpa
Classes in org.jdbi.v3.jpa that implement RowMapper Modifier and Type Class Description classJpaMapper<C>Row mapper for a JPA-annotated type as a result.Methods in org.jdbi.v3.jpa that return RowMapper Modifier and Type Method Description RowMapper<C>JpaMapper. specialize(java.sql.ResultSet rs, StatementContext ctx)Methods in org.jdbi.v3.jpa that return types with arguments of type RowMapper Modifier and Type Method Description java.util.Optional<RowMapper<?>>JpaMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of RowMapper in org.jdbi.v3.sqlobject.config
Methods in org.jdbi.v3.sqlobject.config that return types with arguments of type RowMapper Modifier and Type Method Description java.lang.Class<? extends RowMapper<?>>value()The row mapper class to register -
Uses of RowMapper in org.jdbi.v3.sqlobject.statement
Methods in org.jdbi.v3.sqlobject.statement that return types with arguments of type RowMapper Modifier and Type Method Description java.lang.Class<? extends RowMapper<?>>value()The class implementingRowMapper. -
Uses of RowMapper in org.jdbi.v3.sqlobject.statement.internal
Methods in org.jdbi.v3.sqlobject.statement.internal that return RowMapper Modifier and Type Method Description (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 RowMapper Modifier and Type Method Description java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)private java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. buildMapper(java.lang.Class<? extends io.vavr.Tuple> tupleClass, io.vavr.collection.Array<java.util.Optional<RowMapper<?>>> colMappers)(package private) java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. getColumnMapper(java.lang.reflect.Type type, int tupleIndex, ConfigRegistry config)private java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. getColumnMapperForDefinedColumn(java.lang.reflect.Type type, java.lang.String col, ConfigRegistry config)private java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. getRowMapper(java.lang.reflect.Type type, ConfigRegistry config)Method parameters in org.jdbi.v3.vavr with type arguments of type RowMapper Modifier and Type Method Description private java.util.Optional<RowMapper<?>>VavrTupleRowMapperFactory. buildMapper(java.lang.Class<? extends io.vavr.Tuple> tupleClass, io.vavr.collection.Array<java.util.Optional<RowMapper<?>>> colMappers)
-