Class ProductFloatFunction
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.MultiFloatFunction
-
- org.apache.lucene.queries.function.valuesource.ProductFloatFunction
-
public class ProductFloatFunction extends MultiFloatFunction
ProductFloatFunctionreturns the product of its components.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
sources
-
-
Constructor Summary
Constructors Constructor Description ProductFloatFunction(ValueSource[] sources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected floatfunc(int doc, FunctionValues[] valsArr)protected Stringname()-
Methods inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
createWeight, description, equals, exists, getValues, hashCode
-
Methods inherited from class org.apache.lucene.queries.function.ValueSource
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
-
-
-
-
Constructor Detail
-
ProductFloatFunction
public ProductFloatFunction(ValueSource[] sources)
-
-
Method Detail
-
name
protected String name()
- Specified by:
namein classMultiFloatFunction
-
func
protected float func(int doc, FunctionValues[] valsArr) throws IOException- Specified by:
funcin classMultiFloatFunction- Throws:
IOException
-
-