Top Description Fields Constructors Methods
org.hibernate.query.internal

public Class NamedResultSetMappingMementoImpl

extends Object
implements NamedResultSetMappingMemento
Class Inheritance
All Implemented Interfaces
org.hibernate.query.named.NamedResultSetMappingMemento
Imports
java.util.List, java.util.function.Consumer, org.hibernate.query.named.NamedResultSetMappingMemento, .ResultMemento, org.hibernate.query.results.ResultSetMapping

Standard NamedResultSetMappingMemento implementation
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
private final List<ResultMemento>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Implements org.hibernate.query.named.NamedResultSetMappingMemento.getName.

The name associated with this memento
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
resultMementosback to summary
private final List<ResultMemento> resultMementos

Constructor Detail

NamedResultSetMappingMementoImplback to summary
public NamedResultSetMappingMementoImpl(String name, List<ResultMemento> resultMementos)

Method Detail

getNameback to summary
public String getName()

Implements org.hibernate.query.named.NamedResultSetMappingMemento.getName.

Doc from org.hibernate.query.named.NamedResultSetMappingMemento.getName.

The name associated with this memento

Annotations
@Override
resolveback to summary
public void resolve(ResultSetMapping resultSetMapping, Consumer<String> querySpaceConsumer, ResultSetMappingResolutionContext context)

Implements org.hibernate.query.named.NamedResultSetMappingMemento.resolve.

Doc from org.hibernate.query.named.NamedResultSetMappingMemento.resolve.

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`

Annotations
@Override