public class CompositePath extends JsonSerializable
Constructor and Description |
---|
CompositePath()
Constructor.
|
CompositePath(String jsonString)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CompositePathSortOrder |
getOrder()
Gets the sort order for the composite path.
|
String |
getPath()
Gets path.
|
CompositePath |
setOrder(CompositePathSortOrder order)
Gets the sort order for the composite path.
|
CompositePath |
setPath(String path)
Sets path.
|
get, getBoolean, getCollection, getDouble, getInt, getList, getLogger, getLong, getMap, getObject, getObjectByPath, getString, has, toJson, toJson, toObject, toString
public CompositePath()
public CompositePath(String jsonString)
jsonString
- the json string that represents the included 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 © 2020 Microsoft Corporation. All rights reserved.