Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.2.0)

E77779-01

ExtractorFilter Class Reference

#include <coherence/util/filter/ExtractorFilter.hpp>

Inherited by ComparisonFilter.

List of all members.


Detailed Description

Base Filter implementation for doing extractor-based processing.

Author:
djl 2008.03.02

Public Types

typedef spec::Handle Handle
 ExtractorFilter Handle definition.
typedef spec::View View
 ExtractorFilter View definition.
typedef spec::Holder Holder
 ExtractorFilter Holder definition.

Public Member Functions

virtual bool evaluateEntry (Map::Entry::View vEntry) const
 
virtual bool evaluate (Object::View v) const
 
virtual void readExternal (PofReader::Handle hIn)
 
virtual void writeExternal (PofWriter::Handle hOut) const
 
virtual TypedHandle
< const String > 
toString () const
 
virtual
ValueExtractor::View 
getValueExtractor () const
 Obtain the ValueExtractor used by this filter.

Static Public Attributes

static const size32_t eval_cost
 The evaluation cost as a factor to the single index access operation.

Protected Member Functions

 ExtractorFilter ()
 Default constructor (necessary for the PortableObject interface).
 ExtractorFilter (ValueExtractor::View vExtractor)
 Construct a ExtractorFilter for a given ValueExtractor.
virtual bool evaluateExtracted (Object::View vExtracted) const =0
 Evaluate the specified extracted value.
virtual Object::View extract (Object::View v) const
 Get the result of ValueExtractor invocation.

Protected Attributes

FinalView
< ValueExtractor > 
f_vExtractor
 The ValueExtractor used by this filter.

Constructor & Destructor Documentation

ExtractorFilter ( ValueExtractor::View  vExtractor  )  [protected]

Construct a ExtractorFilter for a given ValueExtractor.

Parameters:
vExtractor the ValueExtractor to use by this filter


Member Function Documentation

virtual bool evaluateExtracted ( Object::View  vExtracted  )  const [protected, pure virtual]

Evaluate the specified extracted value.

Parameters:
vExtracted an extracted value to evaluate

Implemented in LikeFilter.

virtual Object::View extract ( Object::View  v  )  const [protected, virtual]

Get the result of ValueExtractor invocation.

Parameters:
v the object on which to invoke the ValueExtractor; must not be NULL
Returns:
the result of the method invocation

virtual ValueExtractor::View getValueExtractor (  )  const [virtual]

Obtain the ValueExtractor used by this filter.

Returns:
the ValueExtractor::View used by this filter


Member Data Documentation

const size32_t eval_cost [static]

The evaluation cost as a factor to the single index access operation.

See also:
IndexAwareFilter::calculateEffectiveness(Map, Set)


The documentation for this class was generated from the following file:
Copyright © 2000, 2016, Oracle and/or its affiliates. All rights reserved.