|
| DoubleDocValues (const DoubleFieldSourcePtr &source, Collection< double > arr) |
|
virtual | ~DoubleDocValues () |
|
virtual String | getClassName () |
|
boost::shared_ptr< DoubleDocValues > | shared_from_this () |
|
virtual double | doubleVal (int32_t doc) |
| Return doc value as a double. Mandatory: every DocValues implementation must implement at least this method.
|
|
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.
|
|
| DocValues () |
|
virtual | ~DocValues () |
|
boost::shared_ptr< DocValues > | shared_from_this () |
|
virtual int32_t | intVal (int32_t doc) |
| Return doc value as an int. Optional: DocValues implementation can (but don't have to) override this method.
|
|
virtual int64_t | longVal (int32_t doc) |
| Return doc value as a long. Optional: DocValues implementation can (but don't have to) override this method.
|
|
virtual String | strVal (int32_t doc) |
| Return doc value as a string. Optional: DocValues implementation can (but don't have to) override this method.
|
|
virtual ExplanationPtr | explain (int32_t doc) |
| Explain the scoring value for the input doc.
|
|
virtual double | getMinValue () |
| Returns the minimum of all values or NaN if this DocValues instance does not contain any value. This operation is optional.
|
|
virtual double | getMaxValue () |
| Returns the maximum of all values or NaN if this DocValues instance does not contain any value. This operation is optional.
|
|
virtual double | getAverageValue () |
| Returns the average of all values or NaN if this DocValues instance does not contain any value. This operation is optional.
|
|
virtual String | toString () |
| Returns a string representation of the object.
|
|
virtual | ~LuceneObject () |
|
virtual void | initialize () |
| Called directly after instantiation to create objects that depend on this object being fully constructed.
|
|
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
| Return clone of this object.
|
|
virtual int32_t | hashCode () |
| Return hash code for this object.
|
|
virtual bool | equals (const LuceneObjectPtr &other) |
| Return whether two objects are equal.
|
|
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
| Compare two objects.
|
|
virtual | ~LuceneSync () |
|
virtual SynchronizePtr | getSync () |
| Return this object synchronize lock.
|
|
virtual LuceneSignalPtr | getSignal () |
| Return this object signal.
|
|
virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout.
|
|
virtual void | unlock () |
| Unlock this object.
|
|
virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread.
|
|
virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout.
|
|
virtual void | notifyAll () |
| Notify all threads waiting for signal.
|
|
virtual CollectionValue Lucene::DoubleDocValues::getInnerArray |
( |
| ) |
|
|
virtual |
For test purposes only, return the inner array of values, or null if not applicable.
Allows tests to verify that loaded values are:
-
indeed cached/reused.
-
stored in the expected size/type (byte/short/int/float).
Note: implementations of DocValues must override this method for these test elements to be tested, Otherwise the test would not fail, just print a warning.
Reimplemented from Lucene::DocValues.