java.lang.Object | |||
↳ | org.apache.lucene.search.function.ValueSource | ||
↳ | org.apache.lucene.search.function.FieldCacheSource | ||
↳ | org.apache.lucene.search.function.ByteFieldSource |
Expert: obtains single byte field values from the
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a cached byte field source with default string-to-byte parser.
| |||||||||||
Create a cached byte field source with a specific string-to-byte parser.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if equals to another
FieldCacheSource , already knowing that cache and field are equal. | |||||||||||
Return a hash code of a
FieldCacheSource , without the hash-codes of the field
and the cache (those are taken care of elsewhere). | |||||||||||
description of field, used in explain()
| |||||||||||
Return cached DocValues for input field and reader.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.function.FieldCacheSource
| |||||||||||
From class
org.apache.lucene.search.function.ValueSource
| |||||||||||
From class
java.lang.Object
|
Create a cached byte field source with default string-to-byte parser.
Create a cached byte field source with a specific string-to-byte parser.
Check if equals to another FieldCacheSource
, already knowing that cache and field are equal.
Return a hash code of a FieldCacheSource
, without the hash-codes of the field
and the cache (those are taken care of elsewhere).
Return cached DocValues for input field and reader.
cache | FieldCache so that values of a field are loaded once per reader (RAM allowing) |
---|---|
field | Field for which values are required. |
IOException |
---|