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.String
TYPE
-
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 ReciprocalFunctionQuery
clone()
java.lang.Integer
getInverseConstant()
java.lang.Integer
getInverseScalar()
java.lang.Integer
getScalar()
FunctionQuery
getValueFunction()
void
setInverseConstant(java.lang.Integer inverseConstant)
void
setInverseScalar(java.lang.Integer inverseScalar)
void
setScalar(java.lang.Integer scalar)
void
setValueFunction(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:
clone
in classFunctionQuery
-
-