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 java.lang.String |
name() |
createWeight, description, equals, getValues, hashCode
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
public MinFloatFunction(ValueSource[] sources)
protected java.lang.String name()
name
in class MultiFloatFunction
protected float func(int doc, FunctionValues[] valsArr) throws java.io.IOException
func
in class MultiFloatFunction
java.io.IOException
protected boolean exists(int doc, FunctionValues[] valsArr) throws java.io.IOException
values
FunctionValues.exists(int)
for the specified doc, else false.exists
in class MultiFloatFunction
java.io.IOException
MultiFunction.anyExists(int, org.apache.lucene.queries.function.FunctionValues[])
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.