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 Summary
Modifier and TypeFieldDescriptionstatic final String
Internal Azure Cosmos ETag or version field name.static final String
Each Cosmos document will have id property that will be identifier.static final String
This value will be used as partition key if none is defined on the entity.static final String
The name for PartitionKey role as custom Cosmos repository method parameter.static final String
The partition key separator (or prefix). -
Method Summary
-
Field Details
-
PARTITION_KEY_ROLE
The name for PartitionKey role as custom Cosmos repository method parameter.- See Also:
-
INTERNAL_ID
Each 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_SEPARATOR
The partition key separator (or prefix).- See Also:
-
NO_PARTITION_KEY
This value will be used as partition key if none is defined on the entity.- See Also:
-
ETAG_FIELD_NAME
Internal Azure Cosmos ETag or version field name.- See Also:
-