public class EntityAttributeFetchImpl extends AbstractEntityReference implements EntityFetch
| Constructor and Description |
|---|
EntityAttributeFetchImpl(ExpandingFetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy,
ExpandingEntityQuerySpace entityQuerySpace) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdditionalJoinConditions() |
AttributeDefinition |
getFetchedAttributeDefinition()
Returns the
AttributeDefinition for attribute being fetched. |
EntityType |
getFetchedType()
Get the Hibernate Type that describes the fetched attribute as an
EntityType. |
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
FetchSource |
getSource()
Obtain the owner of this fetch.
|
boolean |
isNullable()
Is this fetch nullable?
|
String[] |
toSqlSelectFragments(String alias)
Generates the SQL select fragments for this fetch.
|
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
createCompositeAttributeFetch, getEntityPersister, getIdentifierDescription, resolveEntityReferencebuildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyPathgetEntityPersister, getIdentifierDescription, getQuerySpaceUidgetBidirectionalEntityReferences, getFetches, getPropertyPath, resolveEntityReferencepublic EntityAttributeFetchImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy, ExpandingEntityQuerySpace entityQuerySpace)
public FetchSource getSource()
Fetchpublic FetchStrategy getFetchStrategy()
FetchgetFetchStrategy in interface Fetchpublic EntityType getFetchedType()
EntityFetchEntityType.getFetchedType in interface EntityFetchgetFetchedType in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic String getAdditionalJoinConditions()
getAdditionalJoinConditions in interface Fetchpublic String[] toSqlSelectFragments(String alias)
FetchtoSqlSelectFragments in interface Fetchpublic void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
ExpandingFetchSourcevalidateFetchPlan in interface ExpandingFetchSourcefetchStrategy - The type of fetch to validate.attributeDefinition - The attribute to be fetched.public AttributeDefinition getFetchedAttributeDefinition()
AttributeFetchAttributeDefinition for attribute being fetched.getFetchedAttributeDefinition in interface AttributeFetchCopyright © 2018 JBoss by Red Hat. All rights reserved.