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.
Modifier and Type | Method and Description |
---|---|
Object |
getEntityInstance() |
EntityKey |
getEntityKey()
Obtain the registered EntityKey for this EntityReference for the row currently being processed.
|
EntityReference |
getEntityReference()
The EntityReference for which this is collecting process state
|
Object[] |
getHydratedState() |
Object |
getIdentifierHydratedForm()
Obtain the hydrated form (the raw Type-read ResultSet values) of the entity’s identifier
|
boolean |
isMissingIdentifier() |
void |
registerEntityInstance(Object instance) |
void |
registerEntityKey(EntityKey entityKey)
Register the processed EntityKey for this Entity for the row currently being processed.
|
void |
registerHydratedState(Object[] hydratedState) |
void |
registerIdentifierHydratedForm(Object hydratedForm)
Register the hydrated form (raw Type-read ResultSet values) of the entity’s identifier for the row
currently being processed.
|
void |
registerMissingIdentifier()
Register the fact that no identifier was found on attempt to hydrate it from ResultSet
|
EntityReference getEntityReference()
The EntityReference for which this is collecting process state
void registerMissingIdentifier()
Register the fact that no identifier was found on attempt to hydrate it from ResultSet
boolean isMissingIdentifier()
void registerIdentifierHydratedForm(Object hydratedForm)
Register the hydrated form (raw Type-read ResultSet values) of the entity’s identifier for the row currently being processed.
hydratedForm
- The entity identifier hydrated stateObject getIdentifierHydratedForm()
Obtain the hydrated form (the raw Type-read ResultSet values) of the entity’s identifier
void registerEntityKey(EntityKey entityKey)
Register the processed EntityKey for this Entity for the row currently being processed.
entityKey
- The processed EntityKey for this EntityReferenceEntityKey getEntityKey()
Obtain the registered EntityKey for this EntityReference for the row currently being processed.
void registerHydratedState(Object[] hydratedState)
Object[] getHydratedState()
void registerEntityInstance(Object instance)
Object getEntityInstance()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.