Class SpannerKeyIdConverter
java.lang.Object
com.google.cloud.spring.autoconfigure.spanner.SpannerKeyIdConverter
- All Implemented Interfaces:
org.springframework.data.rest.webmvc.spi.BackendIdConverter,org.springframework.plugin.core.Plugin<Class<?>>
public class SpannerKeyIdConverter
extends Object
implements org.springframework.data.rest.webmvc.spi.BackendIdConverter
Settings for key converter used in REST repositories.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
org.springframework.data.rest.webmvc.spi.BackendIdConverter.DefaultIdConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromRequestId(String id, Class<?> entityType) protected StringbooleantoRequestId(Serializable source, Class<?> entityType)
-
Constructor Details
-
SpannerKeyIdConverter
-
-
Method Details
-
fromRequestId
- Specified by:
fromRequestIdin interfaceorg.springframework.data.rest.webmvc.spi.BackendIdConverter
-
getUrlIdSeparator
-
toRequestId
- Specified by:
toRequestIdin interfaceorg.springframework.data.rest.webmvc.spi.BackendIdConverter
-
supports
- Specified by:
supportsin interfaceorg.springframework.plugin.core.Plugin<Class<?>>
-