Class SDIFF
java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.set.SDIFF
- All Implemented Interfaces:
Resp3Command
invalid input: '{@link /*missing*/}' https://redis.io/commands/sdiff/
Returns the members of the set resulting from the difference between
the first set and all the successive sets.
- Since:
- 15.0
-
Field Summary
Fields inherited from class org.infinispan.server.resp.RespCommand
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<byte[]> diff(byte[] key, Map<byte[], org.infinispan.multimap.impl.SetBucket<byte[]>> buckets, boolean diffItself) perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) Methods inherited from class org.infinispan.server.resp.RespCommand
extractKeys, fromByteBuf, getArity, getFirstKeyPos, getLastKeyPos, getName, getSteps, handleException, hasValidNumberOfArguments, match, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.server.resp.commands.Resp3Command
handleException
-
Constructor Details
-
SDIFF
public SDIFF()
-
-
Method Details
-
perform
public CompletionStage<RespRequestHandler> perform(Resp3Handler handler, io.netty.channel.ChannelHandlerContext ctx, List<byte[]> arguments) - Specified by:
performin interfaceResp3Command
-
diff
public static Collection<byte[]> diff(byte[] key, Map<byte[], org.infinispan.multimap.impl.SetBucket<byte[]>> buckets, boolean diffItself)
-