Class | Description |
---|---|
ERLuceneAdaptor |
ERLuceneAdaptor is an EOAdaptor implementation for the lucene indexing
system.
|
ERLuceneAdaptorChannel |
ERLuceneAdaptorChannel takes care of the actual writing and reading.
|
ERLuceneAdaptorChannel.IndexAttribute |
Morphs EO values to lucene values.
|
ERLuceneAdaptorContext |
ERLuceneAdaptorContext provides the transaction support for the adaptor.
|
ERLuceneExpression |
This stub exists only to make memory adaptor migrations function.
|
ERLuceneExpressionFactory |
This stub exists only to make memory adaptor migrations function.
|
ERLuceneSynchronizationFactory |
This stub exists only to make memory adaptor migrations function.
|
Exception | Description |
---|---|
ERLuceneAdaptorException |
ERMemoryAdaptor provides an implementation of an EOAdaptor that lives entirely in memory. You can think of ERMemoryAdaptor as a very simple in-memory database, sufficient for testing out EOModels without the overhead of actually creating a database. ERMemoryAdaptor is also ideal for writing test cases, providing a resettable database that can execute tests very quickly. While MockEditingContext provides some similar abilities, ERMemoryAdaptor lives at a lower level and can "fool" a larger portion of the EOF stack, and also provides very simple support for transactions. Because ERMemoryAdaptor is not a SQL-based in-memory database, you will not be able to execute SQL qualifiers or custom SQL calls against it.
To use ERMemoryAdaptor, add ERMemoryAdaptor.framework to your project dependencies, and change the adaptor in Entity Modeler to "Memory". Additionally, you may want to change your prototype to EOMemoryPrototypes.
Copyright © 2002 – 2024 Project Wonder.