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

LIMIT feature in Predicate. #5

Closed
hazelcast opened this issue Mar 23, 2012 · 4 comments
Closed

LIMIT feature in Predicate. #5

hazelcast opened this issue Mar 23, 2012 · 4 comments
Labels
Source: Internal PR or issue was opened by an employee Type: Enhancement

Comments

@hazelcast
Copy link
Collaborator

Add the LIMIT sql-feature in Predicate.

Here is an example :

IMap map = Hazelcast.getMap("employee");

Set<Employee> employees = map.values(new SqlPredicate("active AND age < 30"
LIMIT 10));

Migrated from http://code.google.com/p/hazelcast/issues/detail?id=185


earlier comments

fuadmalik said, at 2011-05-03T12:03:51.000Z:

Issue 344 has been merged into this issue.

@muye5
Copy link

muye5 commented Apr 25, 2013

Does this function have been implemented? Or someone have make it done but not included in the sources.

@enesakar
Copy link
Contributor

No issue is open, not implemented yet.

@harry12345
Copy link

LIMIT FROM COUNT eg: LIMIT 10 20
Iteration on results of a query is not efficient

Distributed B+ tree index could solve the problem. What do you think about it?

https://www.google.hu/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCwQFjAA&url=http%3A%2F%2Fwww.comp.nus.edu.sg%2F~ooibc%2Fvldb10-cgindex.pdf&ei=i7D9Ueu7JoKPtQb72YC4DA&usg=AFQjCNEgrbU046A-AgMJxJXf80ZlcqeCwA&sig2=zBvAqvNFsxJUUELQLaLEnw&bvm=bv.50165853,d.Yms

@gurbuzali
Copy link
Contributor

You can have this behavior with PagingPredicate(3.2)

PetroSemeniuk pushed a commit to PetroSemeniuk/hazelcast that referenced this issue Apr 8, 2015
…on-join

Member Capabilities for data re-partitioning
ahmetmircik referenced this issue in ahmetmircik/hazelcast Jun 8, 2015
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Jan 28, 2020
SeriyBg referenced this issue in SeriyBg/hazelcast Jul 9, 2021
Disable doclint to enable building on java 8
SeriyBg referenced this issue in SeriyBg/hazelcast Jul 9, 2021
Add Maven Profiles for Jenkins builds
SeriyBg referenced this issue in SeriyBg/hazelcast Jul 9, 2021
SeriyBg referenced this issue in SeriyBg/hazelcast Jul 9, 2021
[forward port] iam role default support added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Type: Enhancement
Projects
None yet
Development

No branches or pull requests

5 participants