Skip to content

Conversation

@yagmurdulger
Copy link
Contributor

@yagmurdulger yagmurdulger commented Jul 23, 2020

Support for Paging Predicate. Fixes issue #202

@devOpsHazelcast
Copy link
Contributor

Can one of the admins verify this patch?

@devOpsHazelcast
Copy link
Contributor

devOpsHazelcast commented Jul 23, 2020

CLA assistant check
All committers have signed the CLA.

@asimarslan asimarslan marked this pull request as ready for review August 7, 2020 12:10
@asimarslan asimarslan changed the title "Support for Paging Predicate, draft implementation" Support for Paging Predicate implementation Aug 7, 2020
@asimarslan asimarslan added this to the 3.12.4 milestone Aug 7, 2020
@asimarslan asimarslan linked an issue Aug 7, 2020 that may be closed by this pull request
@mdumandag
Copy link
Contributor

verify

Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

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

@yagmurdulger Thanks for the great effort. This PR looks good.

I finished my first round of review and left some comments. Could you take a look at them?

@yagmurdulger
Copy link
Contributor Author

@mdumandag Thank you very much for the review! I have changed the PR based on your comments and marked them as resolved. There are still a few questions remaining, could you take a look at them?

@yagmurdulger
Copy link
Contributor Author

@mdumandag Thanks for your feedback! PR is ready for another round of review.

@mdumandag
Copy link
Contributor

Thanks for the changes @yagmurdulger. I will go over it again

Copy link
Contributor

@mdumandag mdumandag left a comment

Choose a reason for hiding this comment

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

@yagmurdulger sorry for the late response, I went over the PR again. It looks pretty good now. I have some further comments and questions.

@mdumandag
Copy link
Contributor

verify

@yagmurdulger
Copy link
Contributor Author

Hi @mdumandag . Thanks a lot for the second round of review! I have improved the PR based on your suggestions.

@mdumandag
Copy link
Contributor

verify

@asimarslan asimarslan merged commit 0a9a2dc into hazelcast:3.12.z Sep 1, 2020
@mdumandag mdumandag mentioned this pull request Sep 1, 2020
@devOpsHazelcast
Copy link
Contributor

Can one of the admins verify this patch?

1 similar comment
@devOpsHazelcast
Copy link
Contributor

Can one of the admins verify this patch?

mdumandag added a commit to mdumandag/hazelcast-python-client that referenced this pull request Oct 16, 2020
This is the port of hazelcast#212
to the 4.0 branch. However, there are some differences from that PR.

- Documentation of the feature is a little bit different since the client
side sorting is removed.
- Tests are more-or-less ported directly with a few additions for
input validations. However, the above PR was using `six.assertCounEqual`
for assertions which checks equality but not order. For paging predicate
tests, it makes more sense to check ordering.
- Client side codecs and holder classes for PagingPredicates and AnchorDataLists
are added.
- Some public methods, like `get_anchor`, `set_anchor`, `get_nearest_anchor_entry`
is removed. `get_anchor` is defined on the public API on the Java side but I think
it does not provide any functionality to the user.
mdumandag added a commit to mdumandag/hazelcast-python-client that referenced this pull request Oct 16, 2020
This is the port of hazelcast#212
to the 4.0 branch. However, there are some differences from that PR.

- Documentation of the feature is a little bit different since the client
side sorting is removed.
- Tests are more-or-less ported directly with a few additions for
input validations. However, the above PR was using `six.assertCounEqual`
for assertions which checks equality but not order. For paging predicate
tests, it makes more sense to check ordering.
- Client side codecs and holder classes for PagingPredicates and AnchorDataLists
are added.
- Some public methods, like `get_anchor`, `set_anchor`, `get_nearest_anchor_entry`
is removed. `get_anchor` is defined on the public API on the Java side but I think
it does not provide any functionality to the user.
mdumandag added a commit to mdumandag/hazelcast-python-client that referenced this pull request Nov 6, 2020
This is the port of hazelcast#212
to the 4.0 branch. However, there are some differences from that PR.

- Documentation of the feature is a little bit different since the client
side sorting is removed.
- Tests are more-or-less ported directly with a few additions for
input validations. However, the above PR was using `six.assertCounEqual`
for assertions which checks equality but not order. For paging predicate
tests, it makes more sense to check ordering.
- Client side codecs and holder classes for PagingPredicates and AnchorDataLists
are added.
- Some public methods, like `get_anchor`, `set_anchor`, `get_nearest_anchor_entry`
is removed. `get_anchor` is defined on the public API on the Java side but I think
it does not provide any functionality to the user.
mdumandag added a commit that referenced this pull request Nov 6, 2020
* Implement PagingPredicate

This is the port of #212
to the 4.0 branch. However, there are some differences from that PR.

- Documentation of the feature is a little bit different since the client
side sorting is removed.
- Tests are more-or-less ported directly with a few additions for
input validations. However, the above PR was using `six.assertCounEqual`
for assertions which checks equality but not order. For paging predicate
tests, it makes more sense to check ordering.
- Client side codecs and holder classes for PagingPredicates and AnchorDataLists
are added.
- Some public methods, like `get_anchor`, `set_anchor`, `get_nearest_anchor_entry`
is removed. `get_anchor` is defined on the public API on the Java side but I think
it does not provide any functionality to the user.

* address review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paging Predicate

4 participants