Class ODFCandidateList

  • All Implemented Interfaces:
    Iterable, Collection, List

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

      • ODFCandidateList

        public ODFCandidateList​(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 ODF 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 - FetchPlan for retrieval
    • 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