Class AbstractFetchDepthFieldManager

java.lang.Object
org.datanucleus.store.fieldmanager.AbstractFieldManager
org.datanucleus.store.fieldmanager.AbstractFetchDepthFieldManager
All Implemented Interfaces:
FieldManager
Direct Known Subclasses:
DetachFieldManager, LoadFieldManager, MakeTransientFieldManager

public abstract class AbstractFetchDepthFieldManager extends AbstractFieldManager
Base field manager for handling the fetching of fields. Supports a FetchPlan to navigate down an object graph. This is extended by specific managers for the detachment and makeTransient processes.
  • Field Details

    • sm

      protected final DNStateManager sm
      StateManager of the instance being fetched (detached or made transient).
    • secondClassMutableFields

      protected final boolean[] secondClassMutableFields
      Second class mutable fields for the class of this object.
    • fpClass

      protected final FetchPlanForClass fpClass
      Fetch Plan for the class of this object.
    • state

      protected final FetchPlanState state
      State for the fetch process.
  • Constructor Details

    • AbstractFetchDepthFieldManager

      public AbstractFetchDepthFieldManager(DNStateManager sm, boolean[] secondClassMutableFields, FetchPlanForClass fpClass, FetchPlanState state)
      Constructor for a field manager for fetch plan processing.
      Parameters:
      sm - StateManager of the instance being processed.
      secondClassMutableFields - SCO field flags
      fpClass - Fetch Plan for the class of this instance
      state - Object containing the state of the fetch process
  • Method Details