Class BlockingTransactionalHashCommandsImpl<K,F,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
io.quarkus.redis.runtime.datasource.BlockingTransactionalHashCommandsImpl<K,F,V>
- All Implemented Interfaces:
TransactionalHashCommands<K,,F, V> TransactionalRedisCommands
public class BlockingTransactionalHashCommandsImpl<K,F,V>
extends AbstractTransactionalRedisCommandGroup
implements TransactionalHashCommands<K,F,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout -
Constructor Summary
ConstructorsConstructorDescriptionBlockingTransactionalHashCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalHashCommands<K, F, V> reactive, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoidExecute the command HDEL.voidExecute the command HEXISTS.voidExecute the command HGET.voidExecute the command HGETALL.voidExecute the command HINCRBY.voidhincrbyfloat(K key, F field, double amount) Execute the command HINCRBYFLOAT.voidExecute the command HKEYS.voidExecute the command HLEN.voidExecute the command HMGET.voidDeprecated.voidhrandfield(K key) Execute the command HRANDFIELD.voidhrandfield(K key, long count) Execute the command HRANDFIELD.voidhrandfieldWithValues(K key, long count) Execute the command HRANDFIELD.voidExecute the command HSET.voidExecute the command HSET.voidExecute the command HSETNX.voidExecute the command HSTRLEN.voidExecute the command HVALS.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Constructor Details
-
BlockingTransactionalHashCommandsImpl
public BlockingTransactionalHashCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalHashCommands<K, F, V> reactive, Duration timeout)
-
-
Method Details
-
hdel
Description copied from interface:TransactionalHashCommandsExecute the command HDEL. Summary: Delete one or more hash fields Group: hash Requires Redis 2.0.0- Specified by:
hdelin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-
hexists
Description copied from interface:TransactionalHashCommandsExecute the command HEXISTS. Summary: Determine if a hash field exists Group: hash Requires Redis 2.0.0- Specified by:
hexistsin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the value
-
hget
Description copied from interface:TransactionalHashCommandsExecute the command HGET. Summary: Get the value of a hash field Group: hash Requires Redis 2.0.0- Specified by:
hgetin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the value
-
hincrby
Description copied from interface:TransactionalHashCommandsExecute the command HINCRBY. Summary: Increment the integer value of a hash field by the given number Group: hash Requires Redis 2.0.0- Specified by:
hincrbyin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the value
-
hincrbyfloat
Description copied from interface:TransactionalHashCommandsExecute the command HINCRBYFLOAT. Summary: Increment the float value of a hash field by the given amount Group: hash Requires Redis 2.6.0- Specified by:
hincrbyfloatin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the value
-
hgetall
Description copied from interface:TransactionalHashCommandsExecute the command HGETALL. Summary: Get all the fields and values in a hash Group: hash Requires Redis 2.0.0- Specified by:
hgetallin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-
hkeys
Description copied from interface:TransactionalHashCommandsExecute the command HKEYS. Summary: Get all the fields in a hash Group: hash Requires Redis 2.0.0- Specified by:
hkeysin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-
hlen
Description copied from interface:TransactionalHashCommandsExecute the command HLEN. Summary: Get the number of fields in a hash Group: hash Requires Redis 2.0.0- Specified by:
hlenin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-
hmget
Description copied from interface:TransactionalHashCommandsExecute the command HMGET. Summary: Get the values of all the given hash fields Group: hash Requires Redis 2.0.0- Specified by:
hmgetin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfields- the fields
-
hmset
Deprecated.Description copied from interface:TransactionalHashCommandsExecute the command HMSET. Summary: Set multiple hash fields to multiple values Group: hash Requires Redis 2.0.0- Specified by:
hmsetin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keymap- the key/value map to set
-
hrandfield
Description copied from interface:TransactionalHashCommandsExecute the command HRANDFIELD. Summary: Get one or multiple random fields from a hash Group: hash Requires Redis 6.2.0- Specified by:
hrandfieldin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-
hrandfield
Description copied from interface:TransactionalHashCommandsExecute the command HRANDFIELD. Summary: Get one or multiple random fields from a hash Group: hash Requires Redis 6.2.0- Specified by:
hrandfieldin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keycount- the number of random key to retrieve. Ifcountis positive, the selected keys are distinct. Ifcountis negative, the produced list can contain duplicated keys.
-
hrandfieldWithValues
Description copied from interface:TransactionalHashCommandsExecute the command HRANDFIELD. Summary: Get one or multiple random fields and their associated values from a hash Group: hash Requires Redis 6.2.0- Specified by:
hrandfieldWithValuesin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keycount- the number of random key to retrieve. Ifcountis positive, the selected keys are distinct. Ifcountis negative, the produced list can contain duplicated keys. These duplicates are not included in the producedMap.
-
hset
Description copied from interface:TransactionalHashCommandsExecute the command HSET. Summary: Set the string value of a hash field Group: hash Requires Redis 2.0.0- Specified by:
hsetin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the fieldvalue- the value
-
hset
Description copied from interface:TransactionalHashCommandsExecute the command HSET. Summary: Set the string value of a hash field Group: hash Requires Redis 2.0.0- Specified by:
hsetin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keymap- the set of key -> value to add to the hash
-
hsetnx
Description copied from interface:TransactionalHashCommandsExecute the command HSETNX. Summary: Set the value of a hash field, only if the field does not exist Group: hash Requires Redis 2.0.0- Specified by:
hsetnxin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the valuevalue- the value
-
hstrlen
Description copied from interface:TransactionalHashCommandsExecute the command HSTRLEN. Summary: Get the length of the value of a hash field Group: hash Requires Redis 3.2.0- Specified by:
hstrlenin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the keyfield- the value
-
hvals
Description copied from interface:TransactionalHashCommandsExecute the command HVALS. Summary: Get all the values in a hash Group: hash Requires Redis 2.0.0- Specified by:
hvalsin interfaceTransactionalHashCommands<K,F, V> - Parameters:
key- the key
-