Class Constants


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String ETAG_FIELD_NAME
      Internal Azure Cosmos ETag or version field name.
      static java.lang.String INTERNAL_ID
      Each Cosmos document will have id property that will be identifier.
      static java.lang.String NO_PARTITION_KEY
      This value will be used as partition key if none is defined on the entity.
      static java.lang.String PARTITION_KEY_ROLE
      The name for PartitionKey role as custom Cosmos repository method parameter.
      static java.lang.String PARTITION_KEY_SEPARATOR
      The partition key separator (or prefix).
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PARTITION_KEY_ROLE

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

        public static final java.lang.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:
        Constant Field Values
      • PARTITION_KEY_SEPARATOR

        public static final java.lang.String PARTITION_KEY_SEPARATOR
        The partition key separator (or prefix).
        See Also:
        Constant Field Values
      • NO_PARTITION_KEY

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

        public static final java.lang.String ETAG_FIELD_NAME
        Internal Azure Cosmos ETag or version field name.
        See Also:
        Constant Field Values