Interface ResultSetProcessingContext.EntityReferenceProcessingState

  • Enclosing interface:
    ResultSetProcessingContext

    public static interface ResultSetProcessingContext.EntityReferenceProcessingState
    Holds all pieces of information known about an entity reference in relation to each row as we process the result set. Caches these values and makes it easy for access while processing Fetches.
    • Method Detail

      • getEntityReference

        EntityReference getEntityReference()
        The EntityReference for which this is collecting process state
        Returns:
        The EntityReference
      • registerMissingIdentifier

        void registerMissingIdentifier()
        Register the fact that no identifier was found on attempt to hydrate it from ResultSet
      • isMissingIdentifier

        boolean isMissingIdentifier()
        Returns:
      • registerIdentifierHydratedForm

        void registerIdentifierHydratedForm​(java.lang.Object hydratedForm)
        Register the hydrated form (raw Type-read ResultSet values) of the entity's identifier for the row currently being processed.
        Parameters:
        hydratedForm - The entity identifier hydrated state
      • getIdentifierHydratedForm

        java.lang.Object getIdentifierHydratedForm()
        Obtain the hydrated form (the raw Type-read ResultSet values) of the entity's identifier
        Returns:
        The entity identifier hydrated state
      • registerEntityKey

        void registerEntityKey​(EntityKey entityKey)
        Register the processed EntityKey for this Entity for the row currently being processed.
        Parameters:
        entityKey - The processed EntityKey for this EntityReference
      • getEntityKey

        EntityKey getEntityKey()
        Obtain the registered EntityKey for this EntityReference for the row currently being processed.
        Returns:
        The registered EntityKey for this EntityReference
      • registerHydratedState

        void registerHydratedState​(java.lang.Object[] hydratedState)
      • getHydratedState

        java.lang.Object[] getHydratedState()
      • registerEntityInstance

        void registerEntityInstance​(java.lang.Object instance)
      • getEntityInstance

        java.lang.Object getEntityInstance()