Package | Description |
---|---|
cn.leancloud.search |
Modifier and Type | Method and Description |
---|---|
LCSearchSortBuilder |
LCSearchQuery.getSortBuilder()
获取当前的AVSearchSortBuilder对象
|
static LCSearchSortBuilder |
LCSearchSortBuilder.newBuilder() |
LCSearchSortBuilder |
LCSearchSortBuilder.orderByAscending(String key) |
LCSearchSortBuilder |
LCSearchSortBuilder.orderByAscending(String key,
String mode) |
LCSearchSortBuilder |
LCSearchSortBuilder.orderByAscending(String key,
String mode,
String missing)
按照key升序排序
|
LCSearchSortBuilder |
LCSearchSortBuilder.orderByDescending(String key) |
LCSearchSortBuilder |
LCSearchSortBuilder.orderByDescending(String key,
String mode) |
LCSearchSortBuilder |
LCSearchSortBuilder.orderByDescending(String key,
String mode,
String missing)
按照key降序排序
|
LCSearchSortBuilder |
LCSearchSortBuilder.whereNear(String key,
LCGeoPoint point) |
LCSearchSortBuilder |
LCSearchSortBuilder.whereNear(String key,
LCGeoPoint point,
String order) |
LCSearchSortBuilder |
LCSearchSortBuilder.whereNear(String key,
LCGeoPoint point,
String order,
String mode,
String unit)
按照地理位置信息远近排序,key对应的字段类型必须是GeoPoint。
|
Modifier and Type | Method and Description |
---|---|
void |
LCSearchQuery.setSortBuilder(LCSearchSortBuilder sortBuilder)
设置查询的AVSearchSortBuilder,使用更丰富的排序选项。
|
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.