Class EntityIndex


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

      • EntityIndex

        public EntityIndex​(String indexType,
                           String... fields)
    • Method Detail

      • 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.