Package org.infinispan.filter
package org.infinispan.filter
Provides capabilities around filtering and converting entries that are found in the cache or cache store/loader.
- Public API
-
ClassDescriptionThis is a base class that should be used when implementing a KeyValueFilterConverter that provides default implementations for the
KeyValueFilter.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.A key value filter that accepts all entries found.Static factory class that contains utility methods that can be used for performing proper transformations fromKeyValueFilter,ConverterandKeyValueFilterConverterto appropriate distributed stream instances.Allows AND-composing several key/value filters.Converter<K,V, C> Converter that can be used to transform a given entry to a different value.KeyValueFilter<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.Factory forKeyValueFilterConverterinstancesFactory forKeyValueFilterConverterinstances supporting parameters.