{"acl_categories":["@read","@hash","@slow"],"arguments":[{"display_text":"key","key_spec_index":0,"name":"key","type":"key"}],"arity":2,"categories":["docs","develop","stack","oss","rs","rc","oss","kubernetes","clients"],"command_flags":["readonly"],"complexity":"O(N) where N is the size of the hash.","description":"Returns all fields in a hash.","duplicateOf":"head:data-ai-metadata","group":"hash","key_specs":[{"RO":true,"access":true,"begin_search":{"spec":{"index":1},"type":"index"},"find_keys":{"spec":{"keystep":1,"lastkey":0,"limit":0},"type":"range"}}],"location":"body","since":"2.0.0","syntax_fmt":"HKEYS key","title":"HKEYS","tableOfContents":{"sections":[{"id":"examples","title":"Examples"},{"id":"redis-software-and-redis-cloud-compatibility","title":"Redis Software and Redis Cloud compatibility"},{"id":"return-information","title":"Return information"}]},"codeExamples":[]}
hkeys(
key: String
) → Set<String>// All the fields names contained into a hash.
hkeys(
key: K// the key.
) → List<K>// Long count of the keys.hkeys(
channel: KeyStreamingChannel<K>, // the channel.key: K// the key.
) → Long// Long count of the keys.
hkeys(
key: K// the key.
) → RedisFuture<List<K>>// Long count of the keys.hkeys(
channel: KeyStreamingChannel<K>, // the channel.key: K// the key.
) → RedisFuture<Long>// Long count of the keys.
hkeys(
key: K// the key.
) → Flux<K>// Long count of the keys. @deprecated since 6.0 in favor of consuming large results through the org.reactivestreams.Publisher returned by #hkeys.hkeys(
channel: KeyStreamingChannel<K>, // the channel.key: K// the key.
) → Mono<Long>// Long count of the keys. @deprecated since 6.0 in favor of consuming large results through the org.reactivestreams.Publisher returned by #hkeys.
HashKeys(
key: RedisKey, // The key of the hash.flags: CommandFlags// The flags to use for this operation.
) → RedisValue[]// List of fields in the hash, or an empty list when key does not exist.HashKeys(
key: RedisKey, // The key of the hash.flags: CommandFlags// The flags to use for this operation.
) → RedisValue[]// List of fields in the hash, or an empty list when key does not exist.
HashKeys(
key: RedisKey, // The key of the hash.flags: CommandFlags// The flags to use for this operation.
) → RedisValue[]// List of fields in the hash, or an empty list when key does not exist.HashKeys(
key: RedisKey, // The key of the hash.flags: CommandFlags// The flags to use for this operation.
) → RedisValue[]// List of fields in the hash, or an empty list when key does not exist.