public static class GeoCommands.GeoRadiusArgument.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GeoCommands.GeoRadiusArgument |
build() |
GeoCommands.GeoRadiusArgument.Builder |
count(Integer count)
设置返回数量
|
static GeoCommands.GeoRadiusArgument.Builder |
create() |
GeoCommands.GeoRadiusArgument.Builder |
order(com.buession.lang.Order order)
设置排序方式
|
GeoCommands.GeoRadiusArgument.Builder |
withCoord()
设置将位置元素的经度和维度也一并返回
|
GeoCommands.GeoRadiusArgument.Builder |
withDist()
设置在返回位置元素的同时,将位置元素与中心之间的距离也一并返回
|
GeoCommands.GeoRadiusArgument.Builder |
withHash()
设置返回位置元素经过原始 geohash 编码的有序集合分值
|
public static GeoCommands.GeoRadiusArgument.Builder create()
public GeoCommands.GeoRadiusArgument.Builder withCoord()
public GeoCommands.GeoRadiusArgument.Builder withDist()
public GeoCommands.GeoRadiusArgument.Builder withHash()
public GeoCommands.GeoRadiusArgument.Builder order(com.buession.lang.Order order)
order
- 排序方式public GeoCommands.GeoRadiusArgument.Builder count(Integer count)
count
- 返回数量public GeoCommands.GeoRadiusArgument build()
Copyright © 2023 buession.com Inc.. All rights reserved.