Class IckleFilterAndConverter<K,V>
java.lang.Object
org.infinispan.filter.AbstractKeyValueFilterConverter<K,V,org.infinispan.objectfilter.ObjectFilter.FilterResult>
org.infinispan.query.core.impl.eventfilter.IckleFilterAndConverter<K,V>
- All Implemented Interfaces:
Function<Map.Entry<K,,V>, org.infinispan.objectfilter.ObjectFilter.FilterResult> org.infinispan.filter.Converter<K,,V, org.infinispan.objectfilter.ObjectFilter.FilterResult> org.infinispan.filter.KeyValueFilter<K,,V> org.infinispan.filter.KeyValueFilterConverter<K,V, org.infinispan.objectfilter.ObjectFilter.FilterResult>
public class IckleFilterAndConverter<K,V>
extends org.infinispan.filter.AbstractKeyValueFilterConverter<K,V,org.infinispan.objectfilter.ObjectFilter.FilterResult>
implements Function<Map.Entry<K,V>,org.infinispan.objectfilter.ObjectFilter.FilterResult>
A filter implementation that is both a KeyValueFilter and a converter. The implementation relies on the Matcher and a
Ickle query string.
- Since:
- 7.0
- Author:
- anistor@redhat.com
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<? extends org.infinispan.objectfilter.Matcher>The implementation class of the Matcher component to lookup and use. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.objectfilter.ObjectFilter.FilterResultorg.infinispan.objectfilter.ObjectFilter.FilterResultfilterAndConvert(K key, V value, org.infinispan.metadata.Metadata metadata) org.infinispan.objectfilter.Matcherorg.infinispan.objectfilter.ObjectFilterprotected voidinjectDependencies(org.infinispan.factories.ComponentRegistry componentRegistry, QueryCache queryCache) Acquires a Matcher instance from the ComponentRegistry of the given Cache object.toString()Methods inherited from class org.infinispan.filter.AbstractKeyValueFilterConverter
accept, convertMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.filter.KeyValueFilter
format
-
Field Details
-
matcherImplClass
The implementation class of the Matcher component to lookup and use.
-
-
Constructor Details
-
IckleFilterAndConverter
-
-
Method Details
-
injectDependencies
protected void injectDependencies(org.infinispan.factories.ComponentRegistry componentRegistry, QueryCache queryCache) Acquires a Matcher instance from the ComponentRegistry of the given Cache object. -
getObjectFilter
public org.infinispan.objectfilter.ObjectFilter getObjectFilter() -
getQueryString
-
getNamedParameters
-
getMatcher
public org.infinispan.objectfilter.Matcher getMatcher() -
filterAndConvert
-
apply
-
toString
-