org.apache.lucene.search.function
public class ByteFieldSource extends FieldCacheSource
FieldCache
using getBytes()
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 | |
---|---|
ByteFieldSource(String field)
Create a cached byte field source with default string-to-byte parser. | |
ByteFieldSource(String field, FieldCache.ByteParser parser)
Create a cached byte field source with a specific string-to-byte parser. |
Method Summary | |
---|---|
boolean | cachedFieldSourceEquals(FieldCacheSource o) |
int | cachedFieldSourceHashCode() |
String | description() |
DocValues | getCachedFieldValues(FieldCache cache, String field, IndexReader reader) |