public class CosmosEntityInformation<T,ID>
extends org.springframework.data.repository.core.support.AbstractEntityInformation<T,ID>
| Modifier and Type | Field and Description |
|---|---|
private boolean |
autoCreateContainer |
private String |
containerName |
private static String |
ETAG |
private Field |
id |
private com.azure.data.cosmos.IndexingPolicy |
indexingPolicy |
private boolean |
isVersioned |
private Field |
partitionKeyField |
private Integer |
requestUnit |
private Integer |
timeToLive |
| Constructor and Description |
|---|
CosmosEntityInformation(Class<T> domainType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Deprecated.
|
String |
getContainerName() |
private String |
getContainerName(Class<?> domainType) |
ID |
getId(T entity) |
Field |
getIdField() |
private Field |
getIdField(Class<?> domainType) |
Class<ID> |
getIdType() |
com.azure.data.cosmos.IndexingPolicy |
getIndexingPolicy() |
private com.azure.data.cosmos.IndexingPolicy |
getIndexingPolicy(Class<?> domainType) |
private Boolean |
getIndexingPolicyAutomatic(Class<?> domainType) |
private List<com.azure.data.cosmos.ExcludedPath> |
getIndexingPolicyExcludePaths(Class<?> domainType) |
private List<com.azure.data.cosmos.IncludedPath> |
getIndexingPolicyIncludePaths(Class<?> domainType) |
private com.azure.data.cosmos.IndexingMode |
getIndexingPolicyMode(Class<?> domainType) |
private boolean |
getIsAutoCreateContainer(Class<T> domainType) |
private boolean |
getIsVersioned(Class<T> domainType) |
private Field |
getPartitionKeyField(Class<?> domainType) |
String |
getPartitionKeyFieldName() |
String |
getPartitionKeyFieldValue(T entity) |
Integer |
getRequestUnit() |
private Integer |
getRequestUnit(Class<?> domainType) |
Integer |
getTimeToLive() |
private Integer |
getTimeToLive(Class<T> domainType) |
boolean |
isAutoCreateCollection()
Deprecated.
|
boolean |
isAutoCreateContainer() |
boolean |
isVersioned() |
getJavaType, isNewprivate static final String ETAG
private Field id
private Field partitionKeyField
private String containerName
private Integer requestUnit
private Integer timeToLive
private com.azure.data.cosmos.IndexingPolicy indexingPolicy
private boolean isVersioned
private boolean autoCreateContainer
public Field getIdField()
@Deprecated public String getCollectionName()
public String getContainerName()
public Integer getRequestUnit()
public Integer getTimeToLive()
@NonNull public com.azure.data.cosmos.IndexingPolicy getIndexingPolicy()
public boolean isVersioned()
public String getPartitionKeyFieldName()
@Deprecated public boolean isAutoCreateCollection()
public boolean isAutoCreateContainer()
private com.azure.data.cosmos.IndexingPolicy getIndexingPolicy(Class<?> domainType)
private com.azure.data.cosmos.IndexingMode getIndexingPolicyMode(Class<?> domainType)
private List<com.azure.data.cosmos.IncludedPath> getIndexingPolicyIncludePaths(Class<?> domainType)
private List<com.azure.data.cosmos.ExcludedPath> getIndexingPolicyExcludePaths(Class<?> domainType)
Copyright © 2020 Microsoft. All rights reserved.