Class ConstNumberSource
- java.lang.Object
-
- org.apache.lucene.queries.function.ValueSource
-
- org.apache.lucene.queries.function.valuesource.ConstNumberSource
-
- Direct Known Subclasses:
ConstValueSource
,DoubleConstValueSource
public abstract class ConstNumberSource extends ValueSource
ConstNumberSource
is the base class for all constant numbers
-
-
Constructor Summary
Constructors Constructor Description ConstNumberSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
getBool()
abstract double
getDouble()
abstract float
getFloat()
abstract int
getInt()
abstract long
getLong()
abstract java.lang.Number
getNumber()
-
Methods inherited from class org.apache.lucene.queries.function.ValueSource
createWeight, description, equals, getSortField, getValues, hashCode, newContext, toString
-
-