public class EntityLoadQueryDetails extends Object implements LoadQueryDetails
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityLoadQueryDetails.EntityLoaderRowReader |
| Modifier | Constructor and Description |
|---|---|
protected |
EntityLoadQueryDetails(LoadPlan loadPlan,
String[] keyColumnNames,
boolean shouldUseOptionalEntityInformation,
QueryBuildingParameters buildingParameters,
SessionFactoryImplementor factory) |
| Modifier and Type | Method and Description |
|---|---|
ResultSetProcessor |
getResultSetProcessor() |
String |
getSqlStatement() |
static EntityLoadQueryDetails |
makeForBatching(LoadPlan loadPlan,
String[] keyColumnNames,
QueryBuildingParameters buildingParameters,
SessionFactoryImplementor factory)
Constructs a EntityLoadQueryDetails object from the given inputs.
|
protected EntityLoadQueryDetails(LoadPlan loadPlan, String[] keyColumnNames, boolean shouldUseOptionalEntityInformation, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
public String getSqlStatement()
getSqlStatement in interface LoadQueryDetailspublic ResultSetProcessor getResultSetProcessor()
getResultSetProcessor in interface LoadQueryDetailspublic static EntityLoadQueryDetails makeForBatching(LoadPlan loadPlan, String[] keyColumnNames, QueryBuildingParameters buildingParameters, SessionFactoryImplementor factory)
loadPlan - The load plankeyColumnNames - The columns to load the entity by (the PK columns or some other unique set of columns)buildingParameters - And influencers that would affect the generated SQL (mostly we are concerned with those
that add additional joins here)factory - The SessionFactoryCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.