All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.cosmos.models.CompositePathSortOrder Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.cosmos.models;

/**
 * Represents the sorting order for a path in a composite index, for a
 * container in the Azure Cosmos DB database service.
 */
public enum CompositePathSortOrder {
    /**
     * ASCENDING sort order for composite paths.
     */
    ASCENDING {
        public String toString() {
            return "ascending";
        }
    },

    /**
     * DESCENDING sort order for composite paths.
     */
    DESCENDING {
        public String toString() {
            return "descending";
        }
    },
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy