Package io.quarkus.redis.datasource.keys
Class CopyArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.keys.CopyArgs
-
-
Constructor Summary
Constructors Constructor Description CopyArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyArgs
destinationDb(long destinationDb)
Specify an alternative logical database index for the destination key.CopyArgs
replace(boolean replace)
Hint redis to remove the destination key before copying the value to it.List<String>
toArgs()
-
-
-
Method Detail
-
destinationDb
public CopyArgs destinationDb(long 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
public CopyArgs replace(boolean 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
.
-
-