Redisson Sets

Redis Developer Course Redis Technical Support Redis Enterprise Server

Sets

Sets에는 getSet(), getKeys()를 사용한다.

Class 변수로 선언

SADD  -> add

SREM  -> remove

SMEMBERS  -> readAll

SCARD  -> size

SUNION  -> readUnion

SINTER  -> readIntersection

SDIFF  -> readDiff

SUNIONSTORE  -> union

SINTERSTORE  -> intersection

SDIFFSTORE  -> diff

SISMEMBER  -> contains

SMOVE  -> move

SPOP  -> removeRandom

SRANDMEMBER  -> random

SSCAN  -> iterator



<< Lists Sets ZSets >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.