Class ReciprocalFunctionQuery
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.request.DslCloneable
-
- com.lucidworks.search.dsl.request.query.FunctionQuery
-
- com.lucidworks.search.dsl.request.query.functions.ReciprocalFunctionQuery
-
public class ReciprocalFunctionQuery extends FunctionQuery
A function of the formscalar/(inverseScalar * valueFunction() + inverseConstant)
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE
-
Constructor Summary
Constructors Constructor Description ReciprocalFunctionQuery(FunctionQuery valueFunction, java.lang.Integer scalar, java.lang.Integer inverseScalar, java.lang.Integer inverseConstant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReciprocalFunctionQueryclone()java.lang.IntegergetInverseConstant()java.lang.IntegergetInverseScalar()java.lang.IntegergetScalar()FunctionQuerygetValueFunction()voidsetInverseConstant(java.lang.Integer inverseConstant)voidsetInverseScalar(java.lang.Integer inverseScalar)voidsetScalar(java.lang.Integer scalar)voidsetValueFunction(FunctionQuery valueFunction)-
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneable
clone, deepClone
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReciprocalFunctionQuery
public ReciprocalFunctionQuery(FunctionQuery valueFunction, java.lang.Integer scalar, java.lang.Integer inverseScalar, java.lang.Integer inverseConstant)
-
-
Method Detail
-
getValueFunction
public FunctionQuery getValueFunction()
-
setValueFunction
public void setValueFunction(FunctionQuery valueFunction)
-
getScalar
public java.lang.Integer getScalar()
-
setScalar
public void setScalar(java.lang.Integer scalar)
-
getInverseScalar
public java.lang.Integer getInverseScalar()
-
setInverseScalar
public void setInverseScalar(java.lang.Integer inverseScalar)
-
getInverseConstant
public java.lang.Integer getInverseConstant()
-
setInverseConstant
public void setInverseConstant(java.lang.Integer inverseConstant)
-
clone
public ReciprocalFunctionQuery clone()
- Specified by:
clonein classFunctionQuery
-
-