public interface MongoEntityMetadata<T>
extends org.springframework.data.repository.core.EntityMetadata<T>
EntityMetadata
to additionally expose the collection name an entity shall be persisted to.Modifier and Type | Method and Description |
---|---|
MongoPersistentEntity<?> |
getCollectionEntity()
Returns the
MongoPersistentEntity that supposed to determine the collection to be queried. |
String |
getCollectionName()
Returns the name of the collection the entity shall be persisted to.
|
String getCollectionName()
MongoPersistentEntity<?> getCollectionEntity()
MongoPersistentEntity
that supposed to determine the collection to be queried.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.