org.apache.solr.search.function
Class ConstNumberSource

java.lang.Object
  extended by org.apache.solr.search.function.ValueSource
      extended by org.apache.solr.search.function.ConstNumberSource
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConstValueSource, DoubleConstValueSource

public abstract class ConstNumberSource
extends ValueSource

ConstNumberSource is the base class for all constant numbers

See Also:
Serialized Form

Constructor Summary
ConstNumberSource()
           
 
Method Summary
abstract  double getDouble()
           
abstract  float getFloat()
           
abstract  int getInt()
           
abstract  long getLong()
           
abstract  Number getNumber()
           
 
Methods inherited from class org.apache.solr.search.function.ValueSource
createWeight, description, equals, getSortField, getValues, getValues, hashCode, newContext, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstNumberSource

public ConstNumberSource()
Method Detail

getInt

public abstract int getInt()

getLong

public abstract long getLong()

getFloat

public abstract float getFloat()

getDouble

public abstract double getDouble()

getNumber

public abstract Number getNumber()