Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for @Index annotation #478

Open
m4ttek opened this issue Feb 7, 2024 · 1 comment
Open

Support for @Index annotation #478

m4ttek opened this issue Feb 7, 2024 · 1 comment

Comments

@m4ttek
Copy link

m4ttek commented Feb 7, 2024

Which JNoSQL project the issue refers to?

JNoSQL Databases

Use case

It would be great if jnosql could support @Index annotation which may be the same as the one present in JPA standard API.

In my own project I've created such annotation and added some code which uses class ReflectionClassScanner for entity classes and registers found index fields in arango database.

It may be an extension to jnosql if it would be a better option due to variety of databases and their functionalities.

Feature proposal

Add @Index and @indexes annotations to be used on entity types for document databases.

@otaviojava
Copy link
Contributor

Yes, we can explore any observability of annotations.
I mean, given an annotation, we can fire events, thus, the provider can procedure as they wish with this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants