Class SpannerPersistentEntityInformation<T>
java.lang.Object
org.springframework.data.repository.core.support.AbstractEntityInformation<T,com.google.cloud.spanner.Key>
com.google.cloud.spring.data.spanner.core.mapping.SpannerPersistentEntityInformation<T>
- Type Parameters:
T- the type of the underlying entity
- All Implemented Interfaces:
org.springframework.data.repository.core.EntityInformation<T,,com.google.cloud.spanner.Key> org.springframework.data.repository.core.EntityMetadata<T>
public class SpannerPersistentEntityInformation<T>
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,com.google.cloud.spanner.Key>
Holds a Spanner persistent entity and its key type.
- Since:
- 1.1
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newSpannerPersistentEntityInformationfor the givenSpannerPersistentEntity. -
Method Summary
Methods inherited from class org.springframework.data.repository.core.support.AbstractEntityInformation
getJavaType, isNewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.repository.core.EntityInformation
getRequiredId
-
Constructor Details
-
SpannerPersistentEntityInformation
Creates a newSpannerPersistentEntityInformationfor the givenSpannerPersistentEntity.- Parameters:
entity- must not be null.
-
-
Method Details
-
getId
-
getIdType
-