public final class CompositePath extends Object
Constructor and Description |
---|
CompositePath()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
CompositePathSortOrder |
getOrder()
Gets the sort order for the composite path.
|
String |
getPath()
Gets path.
|
int |
hashCode() |
CompositePath |
setOrder(CompositePathSortOrder order)
Gets the sort order for the composite path.
|
CompositePath |
setPath(String path)
Sets path.
|
public String getPath()
public CompositePath setPath(String path)
path
- the path.public CompositePathSortOrder getOrder()
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".
public CompositePath setOrder(CompositePathSortOrder order)
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".
order
- the sort order.Copyright © 2021 Microsoft Corporation. All rights reserved.