#include <coherence/util/extractor/ConditionalExtractor.hpp>
Inherits AbstractExtractor.
Note: the underlying ValueExtractor is used for value extraction during index creation and is the extractor that is associated with the created coherence::util::ConditionalIndex in the given index map. Using the ConditionalExtractor to extract values is not supported.
Public Types | |
typedef spec::Handle | Handle |
ConditionalExtractor Handle definition. | |
typedef spec::View | View |
ConditionalExtractor View definition. | |
typedef spec::Holder | Holder |
ConditionalExtractor Holder definition. | |
Public Member Functions | |
virtual MapIndex::Handle | createIndex (bool fOrdered, Comparator::View vComparator, Map::Handle hMapIndex) const |
virtual MapIndex::Handle | destroyIndex (Map::Handle hMapIndex) const |
virtual Object::Holder | extract (Object::Holder ohTarget) const |
Using a ConditionalExtractor to extract values in not supported. | |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual TypedHandle < const String > | toString () const |
virtual bool | equals (Object::View v) const |
virtual size32_t | hashCode () const |
Protected Member Functions | |
ConditionalExtractor () | |
Construct the ConditionalExtractor. | |
ConditionalExtractor (Filter::View vFilter, ValueExtractor::View vExtractor, bool fForwardIndex) | |
Construct the ConditionalExtractor. | |
Protected Attributes | |
FinalView< Filter > | f_vFilter |
The filter used by this extractor. | |
FinalView < ValueExtractor > | f_vExtractor |
The underlying extractor. | |
bool | m_fForwardIndex |
Specifies whether or not this extractor will create a coherence::util::ConditionalIndex that supports a forward index. |
ConditionalExtractor | ( | Filter::View | vFilter, | |
ValueExtractor::View | vExtractor, | |||
bool | fForwardIndex | |||
) | [protected] |
Construct the ConditionalExtractor.
vFilter | the filter used by this extractor to create a ConditionalIndex; must not be NULL | |
vExtractor | the extractor used by this extractor to create a ConditionalIndex; Note that the created index will be associated with this extractor in the given index map; must not be NULL | |
fForwardIndex | specifies whether or not this extractor will create a ConditionalIndex that supports a forward map |
virtual Object::Holder extract | ( | Object::Holder | ohTarget | ) | const [virtual] |
Using a ConditionalExtractor to extract values in not supported.
UnsupportedOperationException | always |
Reimplemented from AbstractExtractor.