Annotation Type Index

  • @Retention(CLASS)
    public @interface Index
    Specifies that the property should be indexed.

    It is highly recommended to index properties that are used in a query to improve query performance. When building a query, make sure to use case sensitive String conditions to utilize the index.

    To fine tune indexing of a property you can override the default index type().

    Note: indexes are currently not supported for string array, byte array, float or double properties.