Class SortedSetAggregateFunction<K,V>
java.lang.Object
org.infinispan.multimap.impl.function.sortedset.SortedSetAggregateFunction<K,V>
- All Implemented Interfaces:
Serializable,Function<org.infinispan.functional.EntryView.ReadWriteEntryView<K,,SortedSetBucket<V>>, Collection<ScoredValue<V>>> SortedSetBucketBaseFunction<K,,V, Collection<ScoredValue<V>>> org.infinispan.util.function.SerializableFunction<org.infinispan.functional.EntryView.ReadWriteEntryView<K,SortedSetBucket<V>>, Collection<ScoredValue<V>>>
public final class SortedSetAggregateFunction<K,V>
extends Object
implements SortedSetBucketBaseFunction<K,V,Collection<ScoredValue<V>>>
Serializable function used by
EmbeddedMultimapSortedSetCache.union(Object, Collection, double, SortedSetBucket.AggregateFunction)- Since:
- 15.0
- Author:
- Katia Aresti
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.infinispan.commons.marshall.AdvancedExternalizer<SortedSetAggregateFunction> -
Constructor Summary
ConstructorsConstructorDescriptionSortedSetAggregateFunction(SortedSetAggregateFunction.AggregateType type, Collection<ScoredValue<V>> scoredValues, double weight, SortedSetBucket.AggregateFunction function) -
Method Summary
Modifier and TypeMethodDescriptionapply(org.infinispan.functional.EntryView.ReadWriteEntryView<K, SortedSetBucket<V>> entryView)
-
Field Details
-
EXTERNALIZER
public static final org.infinispan.commons.marshall.AdvancedExternalizer<SortedSetAggregateFunction> EXTERNALIZER
-
-
Constructor Details
-
SortedSetAggregateFunction
public SortedSetAggregateFunction(SortedSetAggregateFunction.AggregateType type, Collection<ScoredValue<V>> scoredValues, double weight, SortedSetBucket.AggregateFunction function)
-
-
Method Details
-
apply
public Collection<ScoredValue<V>> apply(org.infinispan.functional.EntryView.ReadWriteEntryView<K, SortedSetBucket<V>> entryView)
-