org.apache.lucene.search.function
public class IntFieldSource extends FieldCacheSource
FieldCache
using getInts() and makes those values
available as other numeric types, casting as needed.
WARNING: The status of the search.function package is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a case.
See Also: for requirements
on the field.
| Constructor Summary | |
|---|---|
| IntFieldSource(String field)
Create a cached int field source with default string-to-int parser. | |
| IntFieldSource(String field, FieldCache.IntParser parser)
Create a cached int field source with a specific string-to-int parser. | |
| Method Summary | |
|---|---|
| boolean | cachedFieldSourceEquals(FieldCacheSource o) |
| int | cachedFieldSourceHashCode() |
| String | description() |
| DocValues | getCachedFieldValues(FieldCache cache, String field, IndexReader reader) |