public class SpannerPersistentEntityInformation<T>
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,com.google.cloud.spanner.Key>
Constructor and Description |
---|
SpannerPersistentEntityInformation(SpannerPersistentEntity<T> entity)
Creates a new
SpannerPersistentEntityInformation for the given
SpannerPersistentEntity . |
Modifier and Type | Method and Description |
---|---|
com.google.cloud.spanner.Key |
getId(T entity) |
Class<com.google.cloud.spanner.Key> |
getIdType() |
getJavaType, isNew
public SpannerPersistentEntityInformation(SpannerPersistentEntity<T> entity)
SpannerPersistentEntityInformation
for the given
SpannerPersistentEntity
.entity
- must not be null.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.