Abstract class for enumerating a subset of all terms.
More...
#include <FilteredTermEnum.h>
|
| virtual | ~FilteredTermEnum () |
| virtual String | getClassName () |
| boost::shared_ptr< FilteredTermEnum > | shared_from_this () |
| virtual double | difference ()=0 |
| | Equality measure on the term.
|
| virtual int32_t | docFreq () |
| | Returns the docFreq of the current Term in the enumeration. Returns -1 if no Term matches or all terms have been enumerated.
|
| virtual bool | next () |
| | Increments the enumeration to the next element. True if one exists.
|
| virtual TermPtr | term () |
| | Returns the current Term in the enumeration. Returns null if no Term matches or all terms have been enumerated.
|
| virtual void | close () |
| | Closes the enumeration to further activity, freeing resources.
|
| 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 String | toString () |
| | Returns a string representation of the object.
|
| 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 bool | termCompare (const TermPtr &term)=0 |
| | Equality compare on the term.
|
| virtual bool | endEnum ()=0 |
| | Indicates the end of the enumeration has been reached.
|
| virtual void | setEnum (const TermEnumPtr &actualEnum) |
| | Use this method to set the actual TermEnum (eg. in ctor), it will be automatically positioned on the first matching term.
|
| | LuceneObject () |
Abstract class for enumerating a subset of all terms.
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
◆ ~FilteredTermEnum()
| virtual Lucene::FilteredTermEnum::~FilteredTermEnum |
( |
| ) |
|
|
virtual |
◆ _getClassName()
| String Lucene::FilteredTermEnum::_getClassName |
( |
| ) |
|
|
inlinestatic |
◆ close()
| virtual void Lucene::FilteredTermEnum::close |
( |
| ) |
|
|
virtual |
◆ difference()
| virtual double Lucene::FilteredTermEnum::difference |
( |
| ) |
|
|
pure virtual |
◆ docFreq()
| virtual int32_t Lucene::FilteredTermEnum::docFreq |
( |
| ) |
|
|
virtual |
Returns the docFreq of the current Term in the enumeration. Returns -1 if no Term matches or all terms have been enumerated.
Implements Lucene::TermEnum.
◆ endEnum()
| virtual bool Lucene::FilteredTermEnum::endEnum |
( |
| ) |
|
|
protectedpure virtual |
◆ getClassName()
| virtual String Lucene::FilteredTermEnum::getClassName |
( |
| ) |
|
|
inlinevirtual |
◆ next()
| virtual bool Lucene::FilteredTermEnum::next |
( |
| ) |
|
|
virtual |
Increments the enumeration to the next element. True if one exists.
Implements Lucene::TermEnum.
◆ setEnum()
| virtual void Lucene::FilteredTermEnum::setEnum |
( |
const TermEnumPtr & | actualEnum | ) |
|
|
protectedvirtual |
Use this method to set the actual TermEnum (eg. in ctor), it will be automatically positioned on the first matching term.
References actualEnum.
◆ shared_from_this()
| boost::shared_ptr< FilteredTermEnum > Lucene::FilteredTermEnum::shared_from_this |
( |
| ) |
|
|
inline |
◆ term()
| virtual TermPtr Lucene::FilteredTermEnum::term |
( |
| ) |
|
|
virtual |
Returns the current Term in the enumeration. Returns null if no Term matches or all terms have been enumerated.
Implements Lucene::TermEnum.
Referenced by Lucene::FuzzyTermEnum::ConstructTermEnum(), Lucene::FuzzyTermEnum::FuzzyTermEnum(), Lucene::FuzzyTermEnum::FuzzyTermEnum(), Lucene::FuzzyTermEnum::FuzzyTermEnum(), termCompare(), Lucene::FuzzyTermEnum::termCompare(), Lucene::PrefixTermEnum::termCompare(), Lucene::SingleTermEnum::termCompare(), Lucene::TermRangeTermEnum::termCompare(), Lucene::WildcardTermEnum::termCompare(), and Lucene::WildcardTermEnum::WildcardTermEnum().
◆ termCompare()
| virtual bool Lucene::FilteredTermEnum::termCompare |
( |
const TermPtr & | term | ) |
|
|
protectedpure virtual |
◆ actualEnum
◆ currentTerm
| TermPtr Lucene::FilteredTermEnum::currentTerm |
|
protected |
The documentation for this class was generated from the following file:
clucene.sourceforge.net