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
-
Method Summary
Modifier and TypeMethodDescriptionfromRequestId
(String id, Class<?> entityType) protected String
boolean
toRequestId
(Serializable source, Class<?> entityType)
-
Constructor Details
-
SpannerKeyIdConverter
-
-
Method Details
-
fromRequestId
- Specified by:
fromRequestId
in interfaceorg.springframework.data.rest.webmvc.spi.BackendIdConverter
-
getUrlIdSeparator
-
toRequestId
- Specified by:
toRequestId
in interfaceorg.springframework.data.rest.webmvc.spi.BackendIdConverter
-
supports
- Specified by:
supports
in interfaceorg.springframework.plugin.core.Plugin<Class<?>>
-