Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EmfIndex Comparison"

Line 2: Line 2:
  
 
*API  
 
*API  
*Performence
+
*Performance
 
*Memory Consumption  
 
*Memory Consumption  
 
*How to build a convinient Query API on top of the low level API<br>
 
*How to build a convinient Query API on top of the low level API<br>
  
= API  =
+
= Performance =
 
+
== Indexing API  ==
+
 
+
The current proposal form itemis introduces the concept of Indexers. An Indexer extracts the data from a Model and stores it in the index:
+
<source lang="java">
+
final Resource r = ...;
+
final ResourceIndexerImpl resourceIndexer = new ResourceIndexerImpl();
+
index.executeUpdateCommand(new UpdateCommand<Boolean>() {
+
public Boolean execute(IndexUpdater indexUpdater, QueryExecutor queryExecutor, Index indexStore) {
+
resourceIndexer.resourceChanged(r, indexUpdater);
+
return true;
+
}
+
});
+
</source>
+
+
== Query API  ==
+
 
+
== Descriptors ==
+

Revision as of 03:28, 2 September 2009

This page is intended to compare the two index implementations form different viewpoints such as

  • API
  • Performance
  • Memory Consumption
  • How to build a convinient Query API on top of the low level API

Performance

Back to the top