Redis stores everything in a string or in a string representation. Even functions like INCR first process it in INTEGER and then perform the operation
Note: this is a string operation because Redis does not have a special integer type. The string stored in the key is interpreted as a signed integer based on 10 bits, which is performed to perform the operation.
Redis stores integers in their integer representation, so for string values โโthat actually contain an integer, there is no overhead for storing the string representation of an integer.
And wrt jedis; looking at the source, I donโt think it supports anything other than strings
source share