Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the redis COMMAND implemented? #793

Closed
allanwax opened this issue Nov 24, 2014 · 4 comments · Fixed by #4026 or #2922
Closed

Is the redis COMMAND implemented? #793

allanwax opened this issue Nov 24, 2014 · 4 comments · Fixed by #4026 or #2922
Assignees

Comments

@allanwax
Copy link

I can't find it.

@HeartSaVioR
Copy link
Contributor

Yes, it's not implemented yet. It's not a missed spot, just having deep thought about it.

We're considering that Jedis could return new data structure (class) to return type if command's reaponse is sth. complex.
Unfortunately, Redis changed command's response at least one time.
It means that if we create data structure, it would be exposed to break compatibility.

Copy link

This issue is marked stale. It will be closed in 30 days if it is not updated.

@github-actions github-actions bot added the stale label Feb 15, 2024
@sazzad16 sazzad16 removed the stale label Feb 15, 2024
@ggivo ggivo self-assigned this Nov 20, 2024
@ggivo
Copy link
Collaborator

ggivo commented Nov 20, 2024

It looks like support for COMMAND commands has already been added with :
Support COMMAND commands (#2922)

We are missing only COMMAND (no args)

ggivo added a commit to ggivo/jedis that referenced this issue Nov 20, 2024
https://redis.io/docs/latest/commands/command/

Adding it for completeness and as alternative to COMMAND INFO for Redis server prior 7.0.0.

COMMAND (no args) is available with Redis 2.x
COMMAND INFO is available since REDIS version 7.0.0

Relates to: redis#2922
Support COMMAND commands (redis#2922)
commit  : 3590438

Closes redis#793
@ggivo ggivo linked a pull request Nov 20, 2024 that will close this issue
@ggivo ggivo closed this as completed Nov 20, 2024
@ggivo
Copy link
Collaborator

ggivo commented Nov 20, 2024

Resolved with #2922

sazzad16 added a commit that referenced this issue Nov 20, 2024
* Implement  command (no arg)
https://redis.io/docs/latest/commands/command/

Adding it for completeness and as alternative to COMMAND INFO for Redis server prior 7.0.0.

COMMAND (no args) is available with Redis 2.x
COMMAND INFO is available since REDIS version 7.0.0

Relates to: #2922
Support COMMAND commands (#2922)
commit  : 3590438

Closes #793

* Update ControlCommandsTest.java

---------

Co-authored-by: M Sazzadul Hoque <7600764+sazzad16@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants