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) booleanisCollectionAlias(String alias) booleanisEntityAlias(String alias) process()
-
Constructor Details
-
ResultSetMappingProcessor
public ResultSetMappingProcessor(ResultSetMapping resultSetMapping, SessionFactoryImplementor factory)
-
-
Method Details
-
process
-
generateResultMapping
-
isEntityAlias
- Specified by:
isEntityAliasin interfaceSQLQueryParser.ParserContext
-
isCollectionAlias
- Specified by:
isCollectionAliasin interfaceSQLQueryParser.ParserContext
-
getEntityPersister
- Specified by:
getEntityPersisterin interfaceSQLQueryParser.ParserContext
-
getCollectionPersister
- Specified by:
getCollectionPersisterin interfaceSQLQueryParser.ParserContext
-
getEntitySuffix
- Specified by:
getEntitySuffixin interfaceSQLQueryParser.ParserContext
-
getCollectionSuffix
- Specified by:
getCollectionSuffixin interfaceSQLQueryParser.ParserContext
-
getOwnerAlias
-
getPropertyResultsMap
- Specified by:
getPropertyResultsMapin interfaceSQLQueryParser.ParserContext
-