This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21039 - Keyed lookup on associations is needed
Summary: Keyed lookup on associations is needed
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-03-01 08:26 UTC by Svata Dedic
Modified: 2002-08-27 11:16 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-03-01 08:26:01 UTC
I would like ot request search of associated objects supported by some form of
indexing. I often need to search for a component or an associated instnace with
a specific name, or other attributes. Currently it's not possible and clients
have either to iterate through the associated objects, build key -> RefObjects
caches (which may keep huge data in the memory), or I have to put the lookup
cache into the Handler.
I think it would be very good if there's a way how to index the linkset
originating from a single endpoint. It even need not to be expressed in
metamodel (except having a model operation for that) as it is mainly
implementation - and performance - issue.
Comment 1 Svata Dedic 2002-03-01 08:34:36 UTC
Sorry for spamming :-( I forgot to stress importance of the issue.
Comment 2 Martin Matula 2002-08-12 09:41:50 UTC
Done by Dan Prusa. See the documentation at 
http://mdr.netbeans.org/additional_indexes.html.