| LikeFilter Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Tangosol.Util.Filter
 Syntax
Syntaxpublic class LikeFilter : ComparisonFilter, IIndexAwareFilter, IEntryFilter, IFilter
The LikeFilter type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | LikeFilter | 
            Default constructor.
             | 
|  | LikeFilter(String, String) | 
            Construct a LikeFilter for pattern match.
             | 
|  | LikeFilter(String, String, Boolean) | 
            Construct a LikeFilter for pattern match.
             | 
|  | LikeFilter(String, String, Char, Boolean) | 
            Construct a LikeFilter for pattern match.
             | 
|  | LikeFilter(IValueExtractor, String, Char, Boolean) | 
            Construct a LikeFilter for pattern match.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | EscapeChar | 
            Obtain the escape character that is used for escaping '%' and
            '_' in the pattern or zero if there is no escape.
             | 
|  | IgnoreCase | 
            Check whether or not the filter is case incensitive.
             | 
|  | IsIgnoreCase | Obsolete. 
            Check whether or not the filter is case incensitive.
             | 
|  | Pattern | 
            Obtain the filter's pattern string.
             | 
|  | Value | 
            Gets the object to compare the extraction result with.
            (Inherited from ComparisonFilter.) | 
|  | ValueExtractor | 
            Obtain the IValueExtractor used by this filter.
            (Inherited from ExtractorFilter.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | ApplyIndex | 
            Filter remaining keys using an IDictionary of available indexes.
             | 
|  | BuildPlan | 
            Build a plan for processing the LIKE functionality.
             | 
|  | CalculateEffectiveness | 
            Given an IDictionary of available indexes, determine if this 
            IIndexAwareFilter can use any of the indexes to assist in its 
            processing, and if so, determine how effective the use of that 
            index would be.
             | 
|  | CalculateMatchEffectiveness | 
            Helper method to calculate effectiveness for ComparisonFilters that 
            need no more than a single index match in order to retrieve all 
            necessary keys to perform the applyIndex() operation.
            Such filters are: Contains, Equals, NotEquals.
            (Inherited from ComparisonFilter.) | 
|  | CalculateRangeEffectiveness | 
            Helper method to calculate effectiveness for ComparisonFilters that 
            need a range of values from an index in order to retrieve all 
            necessary keys to perform the applyIndex() operation.
            Such filters are: Less, LessEquals, Greater, GreaterEquals.
            (Inherited from ComparisonFilter.) | 
|  | Equals | 
            Compare the ComparisonFilter with another object to
            determine equality.
            (Inherited from ComparisonFilter.) | 
|  | Evaluate | 
            Apply the test to the object.
            (Inherited from ExtractorFilter.) | 
|  | EvaluateEntry | 
            Apply the test to an ICacheEntry.
            (Inherited from ExtractorFilter.) | 
|  | EvaluateExtracted | 
            Evaluate the specified extracted value.
            (Overrides ExtractorFilterEvaluateExtracted(Object).) | 
|  | Extract | 
            Gets the result of IValueExtractor invocation.
            (Inherited from ExtractorFilter.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetHashCode | 
            Determine a hash value for the ComparisonFilter object
            according to the general object.GetHashCode() contract.
            (Inherited from ComparisonFilter.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | IsMatch | 
            Check the passed string value to see if it matches the pattern
            that this filter was constructed with.
             | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | ReadExternal | 
            Restore the contents of a user type instance by reading its state
            using the specified IPofReader object.
            (Overrides ComparisonFilterReadExternal(IPofReader).) | 
|  | ToString | 
            Return a human-readable description for this
            ComparisonFilter.
            (Inherited from ComparisonFilter.) | 
|  | WriteExternal | 
            Save the contents of a POF user type instance by writing its
            state using the specified IPofWriter object.
            (Overrides ComparisonFilterWriteExternal(IPofWriter).) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | m_extractor | 
            The ValueExtractor used by this filter.
            (Inherited from ExtractorFilter.) | 
|  | m_value | 
            The value to compare to.
            (Inherited from ComparisonFilter.) | 
 Remarks
RemarksDuring pattern matching, regular characters must exactly match the characters in an evaluated string. Wildcard character '_' (underscore) can be matched with any single character, and wildcard character '%' can be matched with any string fragment of zero or more characters.
 See Also
See Also