Class EntityIndex

java.lang.Object
org.dizitart.no2.repository.EntityIndex

public class EntityIndex extends Object
Represents an index for an entity in the Nitrite database.
Since:
4.0
Author:
Anindya Chatterjee
  • Constructor Details

    • EntityIndex

      public EntityIndex(String indexType, String... fields)
  • Method Details

    • getIndexType

      public String getIndexType()
      The type of index to be used for the entity field.
    • getFieldNames

      public List<String> getFieldNames()
      The list of field names on which index is created.