Package io.quarkus.redis.datasource.keys
Class CopyArgs
java.lang.Object
io.quarkus.redis.datasource.keys.CopyArgs
- All Implemented Interfaces:
RedisCommandExtraArguments
Arguments for the Redis COPY command.
-
Constructor Details
-
CopyArgs
public CopyArgs()
-
-
Method Details
-
destinationDb
Specify an alternative logical database index for the destination key.- Parameters:
destinationDb
- logical database index to apply for DB.- Returns:
- the current
CopyArgs
.
-
replace
Hint redis to remove the destination key before copying the value to it.- Parameters:
replace
- remove destination key before copying the value REPLACE.- Returns:
this
.
-
toArgs
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-