public class DecayFuncGeoParam extends DecayParam
DecayFunction to set parameters, applicable to Geo-point type fields.
The origin is a longitude and latitude coordinate point, and both scale and offset are Double type values in meters.
The scale should be greater than 0, and the offset should be greater than or equal to 0.| 限定符和类型 | 类和说明 |
|---|---|
static class |
DecayFuncGeoParam.Builder |
DecayParam.DecayFuncUnknownParam, DecayParam.ParamType| 构造器和说明 |
|---|
DecayFuncGeoParam() |
DecayFuncGeoParam(String origin,
Double scale,
Double offset) |
| 限定符和类型 | 方法和说明 |
|---|---|
Double |
getOffset() |
String |
getOrigin() |
Double |
getScale() |
DecayParam.ParamType |
getType()
Get the type of param
|
static DecayFuncGeoParam.Builder |
newBuilder() |
void |
setOffset(Double offset) |
void |
setOrigin(String origin) |
void |
setScale(Double scale) |
unknownTypeParampublic String getOrigin()
public void setOrigin(String origin)
public Double getScale()
public void setScale(Double scale)
public Double getOffset()
public void setOffset(Double offset)
public DecayParam.ParamType getType()
DecayParamgetType 在类中 DecayParampublic static DecayFuncGeoParam.Builder newBuilder()
Copyright © 2025. All Rights Reserved.