org.apache.lucene.queries.function.valuesource
Class MaxFloatFunction

java.lang.Object
  extended by org.apache.lucene.queries.function.ValueSource
      extended by org.apache.lucene.queries.function.valuesource.MultiFloatFunction
          extended by org.apache.lucene.queries.function.valuesource.MaxFloatFunction

public class MaxFloatFunction
extends MultiFloatFunction

MaxFloatFunction returns the max of it's components.


Field Summary
 
Fields inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
sources
 
Constructor Summary
MaxFloatFunction(ValueSource[] sources)
           
 
Method Summary
protected  float func(int doc, FunctionValues[] valsArr)
           
protected  String name()
           
 
Methods inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
createWeight, description, equals, getValues, hashCode
 
Methods inherited from class org.apache.lucene.queries.function.ValueSource
getSortField, newContext, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MaxFloatFunction

public MaxFloatFunction(ValueSource[] sources)
Method Detail

name

protected String name()
Specified by:
name in class MultiFloatFunction

func

protected float func(int doc,
                     FunctionValues[] valsArr)
Specified by:
func in class MultiFloatFunction


Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.