public class MaxFloatFunction extends MultiFloatFunction
MaxFloatFunction returns the max of its components.sources| Constructor and Description |
|---|
MaxFloatFunction(ValueSource[] sources) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
exists(int doc,
FunctionValues[] valsArr)
True if any of the specified
values
FunctionValues.exists(int) for the specified doc, else false. |
protected float |
func(int doc,
FunctionValues[] valsArr) |
protected String |
name() |
createWeight, description, equals, getValues, hashCodeasDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toStringpublic MaxFloatFunction(ValueSource[] sources)
protected String name()
name in class MultiFloatFunctionprotected float func(int doc,
FunctionValues[] valsArr)
throws IOException
func in class MultiFloatFunctionIOExceptionprotected boolean exists(int doc,
FunctionValues[] valsArr)
throws IOException
values
FunctionValues.exists(int) for the specified doc, else false.exists in class MultiFloatFunctionIOExceptionMultiFunction.anyExists(int, org.apache.lucene.queries.function.FunctionValues[])Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.