Skip to content

Add support for HRANDFIELD through HashOperations and ReactiveHashOperations #2048

Closed
@mp911de

Description

@mp911de

Add support in BoundHashOperations, imperative and reactive …HashOperations and on the connection level.

HRANDFIELD changes its output depending on count and WITHVALUES. On the operations level we could have:

HK randomKey();

List<HK> randomKeys(int count);

// limitation that a negative count cannot render duplicate keys.
Map<HK, HV> randomValues(int count);

See https://redis.io/commands/hrandfield

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions