Neodatis object DB / DataNucleus - How are indicies defined?
-
27-09-2019 - |
Question
How do I define fields that I know I will be querying on to be indexed using Neodatis Object Database under DataNucleus?
The @Index annotation appears to only apply to ORM for relational databases by my understanding.
Solution
Just read the code http://datanucleus.svn.sourceforge.net/viewvc/datanucleus/platform/store.neodatis/trunk/src/java/org/datanucleus/store/neodatis/NeoDatisStoreManager.java?revision=9380&view=markup where you can see "IndexMetaData" being used.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow