Class Constants

java.lang.Object
io.micronaut.data.cosmos.common.Constants

public final class Constants extends Object
The constants needed for Cosmos DB implementation.
Since:
3.9.0
Author:
radovanradic
  • Field Details

    • PARTITION_KEY_ROLE

      public static final String PARTITION_KEY_ROLE
      The name for PartitionKey role as custom Cosmos repository method parameter.
      See Also:
    • INTERNAL_ID

      public static final String 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

      public static final String PARTITION_KEY_SEPARATOR
      The partition key separator (or prefix).
      See Also:
    • NO_PARTITION_KEY

      public static final String NO_PARTITION_KEY
      This value will be used as partition key if none is defined on the entity.
      See Also:
    • ETAG_FIELD_NAME

      public static final String ETAG_FIELD_NAME
      Internal Azure Cosmos ETag or version field name.
      See Also: