Class TopKReserveFunction

java.lang.Object
org.infinispan.server.resp.commands.topk.TopKReserveFunction
All Implemented Interfaces:
Serializable, Function<EntryView.ReadWriteEntryView<byte[],Object>, Boolean>, SerializableFunction<EntryView.ReadWriteEntryView<byte[],Object>, Boolean>

@ProtoTypeId(6164) public final class TopKReserveFunction extends Object implements SerializableFunction<EntryView.ReadWriteEntryView<byte[],Object>, Boolean>
Function to reserve (create) a Top-K filter using FunctionalMap. Used by TOPK.RESERVE command.
Since:
16.2
See Also:
  • Constructor Details

    • TopKReserveFunction

      @ProtoFactory public TopKReserveFunction(int k, int width, int depth, double decay)
  • Method Details