java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.set.SINTER
All Implemented Interfaces:
Resp3Command

public class SINTER extends RespCommand implements Resp3Command
invalid input: '{@link /*missing*/}' https://redis.io/commands/sinter/ Returns the members of the set resulting from the intersection of all the given sets.
Since:
15.0
  • Constructor Details

    • SINTER

      public SINTER()
  • Method Details

    • perform

      public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments)
      Specified by:
      perform in interface Resp3Command
    • getUniqueKeys

      public static Set<byte[]> getUniqueKeys(Resp3Handler handler, List<byte[]> arguments)
    • checkTypesAndReturnEmpty

      public static List<byte[]> checkTypesAndReturnEmpty(Collection<org.infinispan.multimap.impl.SetBucket<byte[]>> buckets)
    • intersect

      public static List<byte[]> intersect(Collection<org.infinispan.multimap.impl.SetBucket<byte[]>> buckets, int limit)