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, resolveEntityReference
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyPath
getEntityPersister, getIdentifierDescription, getQuerySpaceUid
getBidirectionalEntityReferences, getFetches, getPropertyPath, resolveEntityReference
public EntityAttributeFetchImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy, ExpandingEntityQuerySpace entityQuerySpace)
public FetchSource getSource()
Fetch
public FetchStrategy getFetchStrategy()
Fetch
getFetchStrategy
in interface Fetch
public EntityType getFetchedType()
EntityFetch
EntityType
.getFetchedType
in interface EntityFetch
getFetchedType
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public String getAdditionalJoinConditions()
getAdditionalJoinConditions
in interface Fetch
public String[] toSqlSelectFragments(String alias)
Fetch
toSqlSelectFragments
in interface Fetch
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
ExpandingFetchSource
validateFetchPlan
in interface ExpandingFetchSource
fetchStrategy
- The type of fetch to validate.attributeDefinition
- The attribute to be fetched.public AttributeDefinition getFetchedAttributeDefinition()
AttributeFetch
AttributeDefinition
for attribute being fetched.getFetchedAttributeDefinition
in interface AttributeFetch
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.