Class CuckooFilterCountFunction
java.lang.Object
org.infinispan.server.resp.commands.cuckoo.CuckooFilterCountFunction
- All Implemented Interfaces:
Serializable, Function<EntryView.ReadEntryView<byte[],Object>, Long>, SerializableFunction<EntryView.ReadEntryView<byte[], Object>, Long>
@ProtoTypeId(6151)
public final class CuckooFilterCountFunction
extends Object
implements SerializableFunction<EntryView.ReadEntryView<byte[],Object>, Long>
Function to count occurrences of an item in a Cuckoo filter using FunctionalMap.
Used by CF.COUNT command.
- Since:
- 16.2
- See Also:
-
Constructor Details
-
CuckooFilterCountFunction
@ProtoFactory public CuckooFilterCountFunction(byte[] item)
-
-
Method Details
-
getItem
@ProtoField(number=1) public byte[] getItem() -
apply
- Specified by:
applyin interfaceFunction<EntryView.ReadEntryView<byte[],Object>, Long>
-