public class CollectionAttributeFetchImpl extends AbstractCollectionReference implements CollectionAttributeFetch
Constructor and Description |
---|
CollectionAttributeFetchImpl(ExpandingFetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy,
ExpandingCollectionQuerySpace collectionQuerySpace) |
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalJoinConditions() |
AttributeDefinition |
getFetchedAttributeDefinition()
Returns the
AttributeDefinition for attribute being fetched. |
CollectionType |
getFetchedType()
Get the Hibernate Type that describes the fetched attribute as a
CollectionType . |
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.
|
allowElementJoin, allowIndexJoin, getCollectionPersister, getElementGraph, getIndexGraph, getPropertyPath, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyPath
allowElementJoin, allowIndexJoin, getCollectionPersister, getElementGraph, getIndexGraph, getPropertyPath, getQuerySpaceUid
public CollectionAttributeFetchImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy, ExpandingCollectionQuerySpace collectionQuerySpace)
public FetchSource getSource()
Fetch
public CollectionType getFetchedType()
CollectionAttributeFetch
CollectionType
.getFetchedType
in interface CollectionAttributeFetch
getFetchedType
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public String getAdditionalJoinConditions()
getAdditionalJoinConditions
in interface Fetch
public FetchStrategy getFetchStrategy()
Fetch
getFetchStrategy
in interface Fetch
public String[] toSqlSelectFragments(String alias)
Fetch
toSqlSelectFragments
in interface Fetch
public AttributeDefinition getFetchedAttributeDefinition()
AttributeFetch
AttributeDefinition
for attribute being fetched.getFetchedAttributeDefinition
in interface AttributeFetch
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.