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

TopicIF should have a getOccurrencesByType(TopicIF type) method #411

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

GoogleCodeExporter commented Mar 16, 2015

1. The problem:
When working with very large topicmaps, in which topics have a lot of 
occurrences, I regularly run into the problem of needing the set of occurrences 
of a topic that have the same type. To do this, I need to iterator over all the 
occurrences of that topic. In a RDBMS environment this action will retrieve all 
occurrences from the database, causing a lot of overhead.

2. The solution:
Providing TopicIF with a new method getOccurrencesByType(TopicIF type) and 
writing a specialized sql mapping for this method would greatly reduce the 
overhead.

Original issue reported on code.google.com by qsieb...@gmail.com on 23 Sep 2011 at 8:41

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Fixed by r2339

Original comment by qsieb...@gmail.com on 31 Oct 2012 at 2:14

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

GoogleCodeExporter commented Mar 16, 2015

Original comment by qsieb...@gmail.com on 1 Aug 2013 at 12:09

  • Added labels: Release5.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant