File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/main/java/org/springframework/data/redis/connection Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2929 * @author Costin Leau
3030 * @author Christoph Strobl
3131 * @author Mark Paluch
32+ * @author Mingi Lee
3233 * @see RedisCommands
3334 */
3435@ NullUnmarked
@@ -153,6 +154,16 @@ public interface RedisSetCommands {
153154 */
154155 Long sInterStore (byte @ NonNull [] destKey , byte @ NonNull [] @ NonNull ... keys );
155156
157+ /**
158+ * Returns the cardinality of the set which would result from the intersection of all the given sets.
159+ *
160+ * @param keys must not be {@literal null}.
161+ * @return {@literal null} when used in pipeline / transaction.
162+ * @see <a href="https://redis.io/commands/sintercard">Redis Documentation: SINTERCARD</a>
163+ * @since 3.4
164+ */
165+ Long sInterCard (byte @ NonNull [] @ NonNull ... keys );
166+
156167 /**
157168 * Union all sets at given {@code keys}.
158169 *
You can’t perform that action at this time.
0 commit comments