Class EntityReader

  • All Implemented Interfaces:
    ItemReader

    @Named("org.hibernate.search.jsr352.massindexing.impl.steps.lucene.EntityReader")
    @HibernateSearchPartitionScoped
    public class EntityReader
    extends AbstractItemReader
    Entity reader reads entities from database. During the open of the read stream, this reader builds a scrollable result. Then, it scrolls from one entity to another at each reading. An entity reader reaches its end when there’s no more item to read. Each reader contains only one entity type.

    The reading range is restricted by the PartitionBound, which always represents as a left-closed interval. See HibernateSearchPartitionMapper for more information about these bounds.

    Author:
    Mincong Huang
    • Constructor Detail

      • EntityReader

        public EntityReader()