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 String
getColumnAlias()
BasicValuedModelPart
getFetchedAttribute()
NavigablePath
getNavigablePath()
Path to the memento, relative to the result rootsFetchBuilder
resolve(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:ModelPartReferenceMemento
Path to the memento, relative to the result roots- Specified by:
getNavigablePath
in 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:FetchMemento
Resolve the fetch-memento into the result-graph-node builder- Specified by:
resolve
in interfaceFetchMemento
- Specified by:
resolve
in interfaceFetchMementoBasic
-
-