public class MinFloatFunction extends MultiFloatFunction
MinFloatFunction
returns the min of its components.sources
Constructor and Description |
---|
MinFloatFunction(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, hashCode
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
public MinFloatFunction(ValueSource[] sources)
protected String name()
name
in class MultiFloatFunction
protected float func(int doc, FunctionValues[] valsArr) throws IOException
func
in class MultiFloatFunction
IOException
protected boolean exists(int doc, FunctionValues[] valsArr) throws IOException
values
FunctionValues.exists(int)
for the specified doc, else false.exists
in class MultiFloatFunction
IOException
MultiFunction.anyExists(int, org.apache.lucene.queries.function.FunctionValues[])
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.