Class ExcelCandidateList

  • All Implemented Interfaces:
    Iterable, Collection, List

    public class ExcelCandidateList
    extends org.datanucleus.store.query.AbstractCandidateLazyLoadList
    Wrapper for a List of candidate instances from Excel. Loads the instances from the workbook lazily.
    • Constructor Detail

      • ExcelCandidateList

        public ExcelCandidateList​(Class cls,
                                  boolean subclasses,
                                  org.datanucleus.ExecutionContext ec,
                                  String cacheType,
                                  org.datanucleus.store.connection.ManagedConnection mconn,
                                  boolean ignoreCache,
                                  org.datanucleus.FetchPlan fp)
        Constructor for the lazy loaded Excel candidate list.
        Parameters:
        cls - The candidate class
        subclasses - Whether to include subclasses
        ec - execution context
        cacheType - Type of caching
        mconn - Connection to the datastore
        ignoreCache - Whether to ignore the cache on object retrieval
        fp - Fetch Plan
    • Method Detail

      • getSize

        protected int getSize()
        Specified by:
        getSize in class org.datanucleus.store.query.AbstractLazyLoadList
      • retrieveObjectForIndex

        protected Object retrieveObjectForIndex​(int index)
        Specified by:
        retrieveObjectForIndex in class org.datanucleus.store.query.AbstractLazyLoadList