Class SubsetFunction<K,V,T>
java.lang.Object
org.infinispan.multimap.impl.function.sortedset.SubsetFunction<K,V,T>
- 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 class SubsetFunction<K,V,T>
extends Object
implements SortedSetBucketBaseFunction<K,V,Collection<ScoredValue<V>>>
Serializable function used by
EmbeddedMultimapSortedSetCache.subsetByIndex(Object, SortedSetSubsetArgs)
EmbeddedMultimapSortedSetCache.subsetByScore(Object, SortedSetSubsetArgs)
EmbeddedMultimapSortedSetCache.subsetByLex(Object, SortedSetSubsetArgs)- Since:
- 15.0
- Author:
- Katia Aresti
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Longstatic final org.infinispan.commons.marshall.AdvancedExternalizer<SubsetFunction> protected final booleanprotected final booleanprotected final booleanprotected final Longprotected final Tprotected final Tprotected final SortedSetOperationType -
Constructor Summary
ConstructorsConstructorDescriptionSubsetFunction(boolean isRev, T start, T stop, boolean includeStart, boolean includeStop, Long offset, Long count, SortedSetOperationType subsetType) SubsetFunction(SortedSetSubsetArgs<T> args, SortedSetOperationType subsetType) -
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<SubsetFunction> EXTERNALIZER -
isRev
protected final boolean isRev -
start
-
stop
-
includeStart
protected final boolean includeStart -
includeStop
protected final boolean includeStop -
offset
-
count
-
subsetType
-
-
Constructor Details
-
SubsetFunction
-
SubsetFunction
public SubsetFunction(boolean isRev, T start, T stop, boolean includeStart, boolean includeStop, Long offset, Long count, SortedSetOperationType subsetType)
-
-
Method Details
-
apply
public Collection<ScoredValue<V>> apply(org.infinispan.functional.EntryView.ReadWriteEntryView<K, SortedSetBucket<V>> entryView)
-