Package io.micronaut.data.cosmos.common
Class Constants
java.lang.Object
io.micronaut.data.cosmos.common.Constants
The constants needed for Cosmos DB implementation.
- Since:
- 3.9.0
- Author:
- radovanradic
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringInternal Azure Cosmos ETag or version field name.static final StringEach Cosmos document will have id property that will be identifier.static final StringThis value will be used as partition key if none is defined on the entity.static final StringThe name for PartitionKey role as custom Cosmos repository method parameter.static final StringThe partition key separator (or prefix).
- 
Method Summary
- 
Field Details- 
PARTITION_KEY_ROLEThe name for PartitionKey role as custom Cosmos repository method parameter.- See Also:
 
- 
INTERNAL_IDEach Cosmos document will have id property that will be identifier. Even if it does not match with our entity id this field will be present in the document and is needed for update/delete operations.- See Also:
 
- 
PARTITION_KEY_SEPARATORThe partition key separator (or prefix).- See Also:
 
- 
NO_PARTITION_KEYThis value will be used as partition key if none is defined on the entity.- See Also:
 
- 
ETAG_FIELD_NAMEInternal Azure Cosmos ETag or version field name.- See Also:
 
 
-