Is there a way to pass redis commands in jedis, without using the functions?
问题 We are trying to build a console to process redis queries. But, in the back end we need to use Jedis. So, the commands, given as the inputs needs to be processed using Jedis. For example, in redis-cli, we use " keys * ". For the same we use jedis.keys(" * ") in Jedis. I have no idea, how to convert " keys * " into jedis.keys(" * "). Kindly tell me some suggestions.... 回答1: Hmm...You can make the same thing by referring to the following. redis.clients.jedis.Connection.sendCommand(Command,