public class SimpleReactiveCosmosEntityMetadata<T> extends Object implements ReactiveCosmosEntityMetadata<T>
| Constructor and Description |
|---|
SimpleReactiveCosmosEntityMetadata(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 from the given entity
|
Class<T> |
getJavaType()
Return the actual domain class type
|
public SimpleReactiveCosmosEntityMetadata(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()
ReactiveCosmosEntityMetadatagetContainerName in interface ReactiveCosmosEntityMetadata<T>Copyright © 2021 Microsoft Corporation. All rights reserved.