public interface R2dbcConverter extends EntityReader<Object,io.r2dbc.spi.Row>, EntityWriter<Object,OutboundRow>, org.springframework.data.relational.core.conversion.RelationalConverter
EntityReader
Modifier and Type | Method and Description |
---|---|
Object |
getArrayValue(ArrayColumns arrayColumns,
org.springframework.data.relational.core.mapping.RelationalPersistentProperty property,
Object value)
Convert a
value into an array representation according to ArrayColumns . |
ConversionService |
getConversionService()
Returns the underlying
ConversionService used by the converter. |
MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,? extends org.springframework.data.relational.core.mapping.RelationalPersistentProperty> |
getMappingContext()
Returns the underlying
MappingContext used by the converter. |
<T> BiFunction<io.r2dbc.spi.Row,io.r2dbc.spi.RowMetadata,T> |
populateIdIfNecessary(T object)
|
read
write
MappingContext<? extends org.springframework.data.relational.core.mapping.RelationalPersistentEntity<?>,? extends org.springframework.data.relational.core.mapping.RelationalPersistentProperty> getMappingContext()
MappingContext
used by the converter.getMappingContext
in interface org.springframework.data.relational.core.conversion.RelationalConverter
ConversionService getConversionService()
ConversionService
used by the converter.getConversionService
in interface org.springframework.data.relational.core.conversion.RelationalConverter
Object getArrayValue(ArrayColumns arrayColumns, org.springframework.data.relational.core.mapping.RelationalPersistentProperty property, Object value)
value
into an array representation according to ArrayColumns
.arrayColumns
- dialect-specific array handling configuration.property
- value
- <T> BiFunction<io.r2dbc.spi.Row,io.r2dbc.spi.RowMetadata,T> populateIdIfNecessary(T object)
object
- must not be null.Copyright © 2018–2019 Pivotal Software, Inc.. All rights reserved.