Class AbstractROF<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.datanucleus.ExecutionContext ec  
      protected org.datanucleus.FetchPlan fp  
      protected boolean ignoreCache
      Whether to ignore the cache when locating objects from an identity.
      protected java.sql.ResultSet rs  
      protected boolean updateAllFields  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractROF​(org.datanucleus.ExecutionContext ec, java.sql.ResultSet rs, org.datanucleus.FetchPlan fp)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.sql.ResultSet getResultSet()
      Accessor for the JDBC ResultSet being processed.
      void setIgnoreCache​(boolean ignore)
      Specify whether when processing the results we should ignore the L1 cache.
      void setUpdateAllFields​(boolean update)
      Specify whether when processing the results we should just update fields that are not currently loaded.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ec

        protected org.datanucleus.ExecutionContext ec
      • rs

        protected java.sql.ResultSet rs
      • ignoreCache

        protected boolean ignoreCache
        Whether to ignore the cache when locating objects from an identity.
      • updateAllFields

        protected boolean updateAllFields
      • fp

        protected org.datanucleus.FetchPlan fp
    • Constructor Detail

      • AbstractROF

        public AbstractROF​(org.datanucleus.ExecutionContext ec,
                           java.sql.ResultSet rs,
                           org.datanucleus.FetchPlan fp)
        Constructor.
        Parameters:
        ec - ExecutionContext
        rs - The JDBC ResultSet
        fp - FetchPlan
    • Method Detail

      • setIgnoreCache

        public void setIgnoreCache​(boolean ignore)
        Description copied from interface: ResultObjectFactory
        Specify whether when processing the results we should ignore the L1 cache.
        Specified by:
        setIgnoreCache in interface ResultObjectFactory<T>
        Parameters:
        ignore - Whether to ignore the L1 cache
      • setUpdateAllFields

        public void setUpdateAllFields​(boolean update)
        Description copied from interface: ResultObjectFactory
        Specify whether when processing the results we should just update fields that are not currently loaded.
        Specified by:
        setUpdateAllFields in interface ResultObjectFactory<T>
        Parameters:
        update - Whether to update all fields rather than just the non-loaded fields