ConstNumberSource (Solr 3.6.2 API)
Keywords: org.apache.solr.search.function.ConstNumberSource class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.search.function
Class ConstNumberSource

    java.lang.Object
      org.apache.solr.search.function.ValueSource
          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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD