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

Java: Add LCS command (with IDX option) #1660

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

GumpacG
Copy link
Collaborator

@GumpacG GumpacG commented Jun 26, 2024

Issue #, if available:

Description of changes:
Implementing LCS with the IDX option requires some glide core changes due to the complex objects returned.

Return object of LCS IDX without WITHMATCHLEN option:
Screenshot 2024-06-25 at 2 11 34 PM

Return object of LCS IDX with WITHMATCHLEN option:
Screenshot 2024-06-25 at 2 11 46 PM

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@GumpacG GumpacG requested a review from a team as a code owner June 26, 2024 00:22
GumpacG added 2 commits June 25, 2024 17:26
* Implemented LCS with IDX

* TODO: add docs and more integTests

* Added docs and remaining tests

* Addressed comments

* Fixed rust formatting

* Addressed comments

* Added WITHMATCHLEN apis

* Expanded on example

* Fixed rust ci failure

* Removed LcsOptions

* Improved examples in docs

* Examples with different match lengths

* Throw NPE if matches is not present
@GumpacG GumpacG force-pushed the java/integ_guiang_lcs_II branch from 41b2ebb to 267f502 Compare June 26, 2024 00:32
@Yury-Fridlyand Yury-Fridlyand added the java issues and fixes related to the java client label Jun 26, 2024
@acarbonetto acarbonetto merged commit b969cd9 into valkey-io:main Jun 26, 2024
46 checks passed
@acarbonetto acarbonetto deleted the java/integ_guiang_lcs_II branch June 26, 2024 18:42
jduo pushed a commit to Bit-Quill/valkey-glide that referenced this pull request Jun 28, 2024
* Java: Add `LCS` command (with IDX option) (#386)

* Implemented LCS with IDX

* TODO: add docs and more integTests

* Added docs and remaining tests

* Addressed comments

* Fixed rust formatting

* Addressed comments

* Added WITHMATCHLEN apis

* Expanded on example

* Fixed rust ci failure

* Removed LcsOptions

* Improved examples in docs

* Examples with different match lengths

* Throw NPE if matches is not present

* Resolved conflicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants