CompositePath Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DOM for a composite path. A composite path is used in a composite index. For example if you want to run a query like "SELECT * FROM c ORDER BY c.age, c.height", then you need to add "/age" and "/height" as composite paths to your composite index.
public sealed class CompositePath : Microsoft.Azure.Documents.JsonSerializable
type CompositePath = class
inherit JsonSerializable
Public NotInheritable Class CompositePath
Inherits JsonSerializable
- Inheritance
- Implements
Order |
Gets or sets the sort order for the composite path. For example if you want to run the query "SELECT * FROM c ORDER BY c.age asc, c.height desc", then you need to make the order for "/age" "ascending" and the order for "/height" "descending". |
Path |
Gets or sets the full path in a document used for composite indexing. We do not support wildcards in the path. |
Clone() |
Clones the composite path. |
Load |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Load |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Save |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Save |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
To |
Returns the string representation of the object in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Product | Versions |
---|---|
Azure SDK for .NET | Latest |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: