public class SpannerKeyIdConverter extends Object implements org.springframework.data.rest.webmvc.spi.BackendIdConverter
Constructor and Description |
---|
SpannerKeyIdConverter(SpannerMappingContext mappingContext) |
Modifier and Type | Method and Description |
---|---|
Serializable |
fromRequestId(String id,
Class<?> entityType) |
protected String |
getUrlIdSeparator() |
boolean |
supports(Class<?> type) |
String |
toRequestId(Serializable source,
Class<?> entityType) |
public SpannerKeyIdConverter(SpannerMappingContext mappingContext)
public Serializable fromRequestId(String id, Class<?> entityType)
fromRequestId
in interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
protected String getUrlIdSeparator()
public String toRequestId(Serializable source, Class<?> entityType)
toRequestId
in interface org.springframework.data.rest.webmvc.spi.BackendIdConverter
Copyright © 2021. All rights reserved.