7#ifndef INTFIELDSOURCE_H
8#define INTFIELDSOURCE_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
A base class for ValueSource implementations that retrieve values for a single field from the FieldCa...
Definition FieldCacheSource.h:28
Obtains int field values from the FieldCache using getInts() and makes those values available as othe...
Definition IntFieldSource.h:24
virtual int32_t cachedFieldSourceHashCode()
Return a hash code of a FieldCacheSource, without the hash-codes of the field and the cache (those ar...
virtual DocValuesPtr getCachedFieldValues(const FieldCachePtr &cache, const String &field, const IndexReaderPtr &reader)
Return cached DocValues for input field and reader.
virtual bool cachedFieldSourceEquals(const FieldCacheSourcePtr &other)
Check if equals to another FieldCacheSource, already knowing that cache and field are equal.
IntParserPtr parser
Definition IntFieldSource.h:33
virtual String description()
Description of field, used in explain()
IntFieldSource(const String &field, const IntParserPtr &parser=IntParserPtr())
Create a cached int field source with a specific string-to-int parser.
virtual ~IntFieldSource()
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< IntParser > IntParserPtr
Definition LuceneTypes.h:376
boost::shared_ptr< FieldCacheSource > FieldCacheSourcePtr
Definition LuceneTypes.h:345
boost::shared_ptr< DocValues > DocValuesPtr
Definition LuceneTypes.h:325
boost::shared_ptr< FieldCache > FieldCachePtr
Definition LuceneTypes.h:334
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157