Difference between revisions of "EmfIndex Comparison"

From Eclipsepedia

Jump to: navigation, search
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