7#ifndef DOUBLEFIELDSOURCE_H
8#define DOUBLEFIELDSOURCE_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
DoubleFieldSourceWeakPtr _source
Definition DoubleFieldSource.h:51
Collection< double > arr
Definition DoubleFieldSource.h:52
virtual ~DoubleDocValues()
DoubleDocValues(const DoubleFieldSourcePtr &source, Collection< double > arr)
virtual double doubleVal(int32_t doc)
Return doc value as a double. Mandatory: every DocValues implementation must implement at least this ...
virtual String toString(int32_t doc)
Return a string representation of a doc value, as required for Explanations.
virtual CollectionValue getInnerArray()
For test purposes only, return the inner array of values, or null if not applicable.
virtual String description()
Description of field, used in explain().
DoubleParserPtr parser
Definition DoubleFieldSource.h:34
virtual DocValuesPtr getCachedFieldValues(const FieldCachePtr &cache, const String &field, const IndexReaderPtr &reader)
Return cached DocValues for input field and reader.
DoubleFieldSource(const String &field, const DoubleParserPtr &parser=DoubleParserPtr())
Create a cached double field source with a specific string-to-double parser.
virtual int32_t cachedFieldSourceHashCode()
Return a hash code of a FieldCacheSource, without the hash-codes of the field and the cache (those ar...
virtual ~DoubleFieldSource()
virtual bool cachedFieldSourceEquals(const FieldCacheSourcePtr &other)
Check if equals to another FieldCacheSource, already knowing that cache and field are equal.
FieldCacheSource(const String &field)
Create a cached field source for the input field.
String field
Definition FieldCacheSource.h:37
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< DoubleParser > DoubleParserPtr
Definition LuceneTypes.h:328
boost::weak_ptr< DoubleFieldSource > DoubleFieldSourceWeakPtr
Definition LuceneTypes.h:327
boost::shared_ptr< DoubleFieldSource > DoubleFieldSourcePtr
Definition LuceneTypes.h:327
boost::shared_ptr< FieldCacheSource > FieldCacheSourcePtr
Definition LuceneTypes.h:345
boost::shared_ptr< DocValues > DocValuesPtr
Definition LuceneTypes.h:325
boost::shared_ptr< IndexReader > IndexReaderPtr
Definition LuceneTypes.h:157
boost::shared_ptr< FieldCache > FieldCachePtr
Definition LuceneTypes.h:334