Class DivFloatFunction
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.DualFloatFunction
org.apache.lucene.queries.function.valuesource.DivFloatFunction
Function to divide "a" by "b"
-
Field Summary
Fields inherited from class org.apache.lucene.queries.function.valuesource.DualFloatFunction
a, b -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected floatfunc(int doc, FunctionValues aVals, FunctionValues bVals) protected Stringname()Methods inherited from class org.apache.lucene.queries.function.valuesource.DualFloatFunction
createWeight, description, equals, getValues, hashCodeMethods inherited from class org.apache.lucene.queries.function.ValueSource
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
-
Constructor Details
-
DivFloatFunction
- Parameters:
a- the numerator.b- the denominator.
-
-
Method Details
-
name
- Specified by:
namein classDualFloatFunction
-
func
- Specified by:
funcin classDualFloatFunction- Throws:
IOException
-