public class SimpleCosmosEntityMetadata<T> extends Object implements CosmosEntityMetadata<T>
| Constructor and Description |
|---|
SimpleCosmosEntityMetadata(Class<T> type,
CosmosEntityInformation<T,String> entityInformation)
Initialization
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Get collection name of cosmos
|
String |
getContainerName()
Get container name of cosmos
|
Class<T> |
getJavaType()
Return the actual domain class type
|
public SimpleCosmosEntityMetadata(Class<T> type, CosmosEntityInformation<T,String> entityInformation)
type - the actual domain class typeentityInformation - cosmos entitypublic Class<T> getJavaType()
getJavaType in interface org.springframework.data.repository.core.EntityMetadata<T>public String getCollectionName()
public String getContainerName()
getContainerName in interface CosmosEntityMetadata<T>Copyright © 2021 Microsoft Corporation. All rights reserved.