Class SqlDTOMapper<T,S,R>
java.lang.Object
io.micronaut.data.runtime.mapper.DTOMapper<T,S,R>
io.micronaut.data.runtime.mapper.sql.SqlDTOMapper<T,S,R>
- Type Parameters:
T
- The entity typeS
- The source type.R
- The result type
- All Implemented Interfaces:
BeanIntrospectionMapper<S,
,R> SqlTypeMapper<S,
,R> TypeMapper<S,
R>
@Deprecated(forRemoval=true,
since="4.2")
public class SqlDTOMapper<T,S,R>
extends DTOMapper<T,S,R>
implements SqlTypeMapper<S,R>
Deprecated, for removal: This API element is subject to removal in a future version.
Not used as of 4.2
Subclass of
DTOMapper
specifically for SQL.-
Constructor Summary
ConstructorDescriptionSqlDTOMapper
(RuntimePersistentEntity<T> persistentEntity, RuntimePersistentEntity<?> dtoEntity, ResultReader<S, String> resultReader, SqlJsonColumnReader<S> jsonColumnReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.SqlDTOMapper
(RuntimePersistentEntity<T> persistentEntity, ResultReader<S, String> resultReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.SqlDTOMapper
(RuntimePersistentEntity<T> persistentEntity, ResultReader<S, String> resultReader, SqlJsonColumnReader<S> jsonColumnReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor. -
Method Summary
Methods inherited from class io.micronaut.data.runtime.mapper.DTOMapper
getConversionService, getPersistentEntity, getResultReader, read, read, read, read
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.data.runtime.mapper.BeanIntrospectionMapper
convert, map
Methods inherited from interface io.micronaut.data.runtime.mapper.TypeMapper
getConversionService, read, read
-
Constructor Details
-
SqlDTOMapper
public SqlDTOMapper(RuntimePersistentEntity<T> persistentEntity, ResultReader<S, String> resultReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
persistentEntity
- The entityresultReader
- The result readerconversionService
- The conversion service
-
SqlDTOMapper
public SqlDTOMapper(RuntimePersistentEntity<T> persistentEntity, ResultReader<S, String> resultReader, SqlJsonColumnReader<S> jsonColumnReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
persistentEntity
- The entityresultReader
- The result readerjsonColumnReader
- The json column readerconversionService
- The conversion service
-
SqlDTOMapper
public SqlDTOMapper(RuntimePersistentEntity<T> persistentEntity, RuntimePersistentEntity<?> dtoEntity, ResultReader<S, String> resultReader, SqlJsonColumnReader<S> jsonColumnReader, DataConversionService conversionService) Deprecated, for removal: This API element is subject to removal in a future version.Default constructor.- Parameters:
persistentEntity
- The entitydtoEntity
- The DTO entityresultReader
- The result readerjsonColumnReader
- The json column readerconversionService
- The conversion service
-
-
Method Details
-
hasNext
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SqlTypeMapper
Is another result available.- Specified by:
hasNext
in interfaceSqlTypeMapper<T,
S> - Parameters:
resultSet
- The result set- Returns:
- True if it is
-