Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EmfIndex Comparison

Revision as of 03:19, 2 September 2009 by Unnamed Poltroon (Talk)

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

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

API

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:

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;
	}
});

Query API

Descriptors

Back to the top