Package org.hibernate.query.internal
Class NamedResultSetMappingMementoImpl
- java.lang.Object
-
- org.hibernate.query.internal.NamedResultSetMappingMementoImpl
-
- All Implemented Interfaces:
NamedResultSetMappingMemento
public class NamedResultSetMappingMementoImpl extends Object implements NamedResultSetMappingMemento
Standard `NamedResultSetMappingMemento` implementation
-
-
Constructor Summary
Constructors Constructor Description NamedResultSetMappingMementoImpl(String name, List<ResultMemento> resultMementos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The name associated with this mementovoid
resolve(ResultSetMapping resultSetMapping, Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)
Resolve this memento.
-
-
-
Constructor Detail
-
NamedResultSetMappingMementoImpl
public NamedResultSetMappingMementoImpl(String name, List<ResultMemento> resultMementos)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:NamedResultSetMappingMemento
The name associated with this memento- Specified by:
getName
in interfaceNamedResultSetMappingMemento
-
resolve
public void resolve(ResultSetMapping resultSetMapping, Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)
Description copied from interface:NamedResultSetMappingMemento
Resolve this memento. Generally speaking, this involves building ResultBuilder instances for each defined result and registering them with the passed `resultSetMapping`. Any known query spaces should be passed to the `querySpaceConsumer`- Specified by:
resolve
in interfaceNamedResultSetMappingMemento
-
-