Package org.hibernate.query.sql.internal
Class ResultSetMappingProcessor
java.lang.Object
org.hibernate.query.sql.internal.ResultSetMappingProcessor
- All Implemented Interfaces:
SQLQueryParser.ParserContext
Responsible for processing the
ResultSetMapping
defined by a
NativeSelectQueryDefinition
and
preprocessing it for consumption by SQLQueryParser
.-
Constructor Summary
ConstructorsConstructorDescriptionResultSetMappingProcessor
(ResultSetMapping resultSetMapping, SessionFactoryImplementor factory) -
Method Summary
Modifier and TypeMethodDescriptiongenerateResultMapping
(boolean queryHadAliases) getCollectionPersister
(String alias) getCollectionSuffix
(String alias) getEntityPersister
(String alias) getEntitySuffix
(String alias) getOwnerAlias
(String alias) getPropertyResultsMap
(String alias) boolean
isCollectionAlias
(String alias) boolean
isEntityAlias
(String alias) process()
-
Constructor Details
-
ResultSetMappingProcessor
public ResultSetMappingProcessor(ResultSetMapping resultSetMapping, SessionFactoryImplementor factory)
-
-
Method Details
-
process
-
generateResultMapping
-
isEntityAlias
- Specified by:
isEntityAlias
in interfaceSQLQueryParser.ParserContext
-
isCollectionAlias
- Specified by:
isCollectionAlias
in interfaceSQLQueryParser.ParserContext
-
getEntityPersister
- Specified by:
getEntityPersister
in interfaceSQLQueryParser.ParserContext
-
getCollectionPersister
- Specified by:
getCollectionPersister
in interfaceSQLQueryParser.ParserContext
-
getEntitySuffix
- Specified by:
getEntitySuffix
in interfaceSQLQueryParser.ParserContext
-
getCollectionSuffix
- Specified by:
getCollectionSuffix
in interfaceSQLQueryParser.ParserContext
-
getOwnerAlias
-
getPropertyResultsMap
- Specified by:
getPropertyResultsMap
in interfaceSQLQueryParser.ParserContext
-