Interface RelationalEntityMetadata<T>
- All Superinterfaces:
org.springframework.data.repository.core.EntityMetadata<T>
- All Known Implementing Classes:
SimpleRelationalEntityMetadata
public interface RelationalEntityMetadata<T>
extends org.springframework.data.repository.core.EntityMetadata<T>
Extension of
EntityMetadata
to additionally expose the collection name an entity shall be persisted to.- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionReturns theRelationalPersistentEntity
that supposed to determine the table to be queried.Returns the name of the table the entity shall be persisted to.Methods inherited from interface org.springframework.data.repository.core.EntityMetadata
getJavaType
-
Method Details
-
getTableName
SqlIdentifier getTableName()Returns the name of the table the entity shall be persisted to.- Returns:
-
getTableEntity
RelationalPersistentEntity<?> getTableEntity()Returns theRelationalPersistentEntity
that supposed to determine the table to be queried.- Returns:
-