Package org.infinispan.filter
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
-
Interface Summary Interface Description Converter<K,V,C> Converter that can be used to transform a given entry to a different value.KeyFilter<K> Deprecated. since 9.3 This will be replaced byPredicate
in the futureKeyValueFilter<K,V> A filter for keys with their values.KeyValueFilterConverter<K,V,C> This interface is an optimization that can be used when a filter and converter are most efficiently used as the same object composing the filtering and conversion in the same method invocation.KeyValueFilterConverterFactory<K,V,C> Factory forKeyValueFilterConverter
instancesParamKeyValueFilterConverterFactory<K,V,C> Factory forKeyValueFilterConverter
instances supporting parameters. -
Class Summary Class Description AbstractKeyValueFilterConverter<K,V,C> This is a base class that should be used when implementing a KeyValueFilterConverter that provides default implementations for theKeyValueFilter.accept(Object, Object, org.infinispan.metadata.Metadata)
andConverter.convert(Object, Object, org.infinispan.metadata.Metadata)
methods so they just call theKeyValueFilterConverter.filterAndConvert(Object, Object, org.infinispan.metadata.Metadata)
method and then do the right thing.AcceptAllKeyValueFilter A key value filter that accepts all entries found.AcceptAllKeyValueFilter.Externalizer CacheFilters Static factory class that contains utility methods that can be used for performing proper transformations fromKeyValueFilter
,Converter
&KeyValueFilterConverter
to appropriate distributed stream instances.CacheFilters.CacheFiltersExternalizer CollectionKeyFilter<K> Filter based on accepting/rejecting the keys that are present in a supplied collection.CollectionKeyFilter.Externalizer CompositeKeyFilter<K> Allows AND-composing several filters.CompositeKeyFilter.Externalizer CompositeKeyValueFilter<K,V> Allows AND-composing several key/value filters.CompositeKeyValueFilter.Externalizer KeyFilterAsKeyValueFilter<K,V> KeyValueFilter that implements it's filtering solely on the use of the provided KeyFilterKeyFilterAsKeyValueFilter.Externalizer KeyValueFilterAsKeyFilter<K> This is a KeyFilter that utilizes the givenKeyValueFilter
to determine if to filter the key.KeyValueFilterAsKeyFilter.Externalizer -
Annotation Types Summary Annotation Type Description NamedFactory