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

Support GEOSEARCH and GEOSEARCHSTORE commands #2771

Merged
merged 28 commits into from Dec 31, 2021

Conversation

AvitalFineRedis
Copy link
Contributor

@AvitalFineRedis AvitalFineRedis commented Dec 27, 2021

Support GEOSEARCH and GEOSEARCHSTORE commands.
Also created GeoSearchParam class to support all the params for both commands.

Based on old and un-updated PR

Resolves #2390
Closes #2677

@codecov-commenter
Copy link

codecov-commenter commented Dec 27, 2021

Codecov Report

Merging #2771 (82a231f) into master (e122faa) will decrease coverage by 0.14%.
The diff coverage is 51.75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2771      +/-   ##
============================================
- Coverage     58.53%   58.39%   -0.15%     
- Complexity     2935     2996      +61     
============================================
  Files           170      171       +1     
  Lines         10426    10681     +255     
  Branches        605      616      +11     
============================================
+ Hits           6103     6237     +134     
- Misses         4112     4233     +121     
  Partials        211      211              
Impacted Files Coverage Δ
...ava/redis/clients/jedis/MultiNodePipelineBase.java 27.47% <0.00%> (-0.94%) ⬇️
src/main/java/redis/clients/jedis/Pipeline.java 9.77% <0.00%> (-0.34%) ⬇️
...main/java/redis/clients/jedis/TransactionBase.java 12.80% <0.00%> (-0.42%) ⬇️
.../main/java/redis/clients/jedis/CommandObjects.java 71.16% <48.88%> (-1.15%) ⬇️
src/main/java/redis/clients/jedis/Jedis.java 85.31% <50.00%> (-0.95%) ⬇️
...rc/main/java/redis/clients/jedis/UnifiedJedis.java 62.94% <50.00%> (-0.42%) ⬇️
...ava/redis/clients/jedis/params/GeoSearchParam.java 97.40% <97.40%> (ø)
src/main/java/redis/clients/jedis/Protocol.java 87.09% <100.00%> (+0.08%) ⬆️
...ava/redis/clients/jedis/params/GeoRadiusParam.java 93.02% <0.00%> (+9.30%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e122faa...82a231f. Read the comment docs.

Copy link
Collaborator

@sazzad16 sazzad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for String variants. Please add binary (byte[] key) variants.

@AvitalFineRedis
Copy link
Contributor Author

LGTM for String variants. Please add binary (byte[] key) variants.

Pipeline also?

AvitalFineRedis and others added 3 commits December 27, 2021 13:00
…re' into geosearch_and_geosearchStore

# Conflicts:
#	src/main/java/redis/clients/jedis/CommandObjects.java
#	src/main/java/redis/clients/jedis/params/GeoSearchParam.java
@sazzad16
Copy link
Collaborator

Pipeline also?

Yes 😃

sazzad16
sazzad16 previously approved these changes Dec 28, 2021
Copy link
Collaborator

@sazzad16 sazzad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AvitalFineRedis Undo any change related to GeoRadiusParam.

AvitalFineRedis and others added 2 commits December 30, 2021 17:19
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GEOSEARCH/GEOSEARCHSTORE commands for bounding box spatial queries (#8094)
5 participants