public class SimpleCosmosEntityMetadata<T> extends Object implements CosmosEntityMetadata<T>
| Modifier and Type | Field and Description |
|---|---|
private CosmosEntityInformation<T,String> |
entityInformation |
private Class<T> |
type |
| Constructor and Description |
|---|
SimpleCosmosEntityMetadata(Class<T> type,
CosmosEntityInformation<T,String> entityInformation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Use getContainerName() instead
|
String |
getContainerName() |
Class<T> |
getJavaType() |
private final CosmosEntityInformation<T,String> entityInformation
public SimpleCosmosEntityMetadata(Class<T> type, CosmosEntityInformation<T,String> entityInformation)
public Class<T> getJavaType()
getJavaType in interface org.springframework.data.repository.core.EntityMetadata<T>public String getCollectionName()
CosmosEntityMetadatagetCollectionName in interface CosmosEntityMetadata<T>public String getContainerName()
getContainerName in interface CosmosEntityMetadata<T>Copyright © 2020 Microsoft. All rights reserved.