Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2222

How can i run Redis raw commands in Java Lettuce?

$
0
0

I am building a Java application using lettuce as a Redis client.

One of the requirements is to run the redis commands from inside the application as i would run them from the command line redis-cli so instead of writing the implemented API method:

commands.set("key", "value");

I enter the actual raw command:

SET key value

and the command would run on the server.For example is there a method in the letuce api simmilar to this?

commands.runrawcommand("SET key value");

Thanks in Advance


Viewing all articles
Browse latest Browse all 2222

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>