Package org.hibernate.query.internal
Class FetchMementoBasicStandard
- java.lang.Object
-
- org.hibernate.query.internal.FetchMementoBasicStandard
-
- All Implemented Interfaces:
FetchMemento,FetchMementoBasic,ModelPartReferenceMemento,ResultMappingMementoNode
public class FetchMementoBasicStandard extends Object implements FetchMementoBasic
Memento describing a basic-valued fetch. A basic-value cannot be de-referenced.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.query.named.FetchMemento
FetchMemento.Parent
-
-
Constructor Summary
Constructors Constructor Description FetchMementoBasicStandard(NavigablePath navigablePath, BasicValuedModelPart fetchedAttribute, String columnAlias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColumnAlias()BasicValuedModelPartgetFetchedAttribute()NavigablePathgetNavigablePath()Path to the memento, relative to the result rootsFetchBuilderresolve(FetchMemento.Parent parent, Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)Resolve the fetch-memento into the result-graph-node builder
-
-
-
Constructor Detail
-
FetchMementoBasicStandard
public FetchMementoBasicStandard(NavigablePath navigablePath, BasicValuedModelPart fetchedAttribute, String columnAlias)
-
-
Method Detail
-
getNavigablePath
public NavigablePath getNavigablePath()
Description copied from interface:ModelPartReferenceMementoPath to the memento, relative to the result roots- Specified by:
getNavigablePathin interfaceModelPartReferenceMemento
-
getFetchedAttribute
public BasicValuedModelPart getFetchedAttribute()
-
getColumnAlias
public String getColumnAlias()
-
resolve
public FetchBuilder resolve(FetchMemento.Parent parent, Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)
Description copied from interface:FetchMementoResolve the fetch-memento into the result-graph-node builder- Specified by:
resolvein interfaceFetchMemento- Specified by:
resolvein interfaceFetchMementoBasic
-
-