|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.search.function.ValueSource
org.apache.solr.search.function.DualFloatFunction
org.apache.solr.search.function.DivFloatFunction
public class DivFloatFunction
Function to divide "a" by "b"
Field Summary |
---|
Fields inherited from class org.apache.solr.search.function.DualFloatFunction |
---|
a, b |
Constructor Summary | |
---|---|
DivFloatFunction(ValueSource a,
ValueSource b)
|
Method Summary | |
---|---|
protected float |
func(int doc,
DocValues aVals,
DocValues bVals)
|
protected String |
name()
|
Methods inherited from class org.apache.solr.search.function.DualFloatFunction |
---|
createWeight, description, equals, getValues, hashCode |
Methods inherited from class org.apache.solr.search.function.ValueSource |
---|
getSortField, getValues, newContext, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DivFloatFunction(ValueSource a, ValueSource b)
a
- the numerator.b
- the denominator.Method Detail |
---|
protected String name()
name
in class DualFloatFunction
protected float func(int doc, DocValues aVals, DocValues bVals)
func
in class DualFloatFunction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |