| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private static final CoreMessageLogger | |
| private final ParameterMetadataImpl | |
| private final Set | |
| private final ReturnMetadata | |
| private final boolean | |
| private final String | |
| private final QueryTranslator[] |
| Access | Constructor and Description |
|---|---|
| public | HQLQueryPlan(String
The HQL query hql, boolean Whether the execution is to be shallow or not shallow, Map<String, Filter> The enabled filters (we only keep the names) enabledFilters, SessionFactoryImplementor The factory factory)
Deprecated
as a consequence of
Constructs a HQLQueryPlan
SessionFactoryImplementor being deprecated.
|
| public | HQLQueryPlan(String hql, boolean shallow, Map<String, Filter> enabledFilters, SessionFactoryImplementor factory, EntityGraphQueryHint entityGraphQueryHint)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| protected | HQLQueryPlan(String hql, String collectionRole, boolean shallow, Map<String, Filter> enabledFilters, SessionFactoryImplementor factory, EntityGraphQueryHint entityGraphQueryHint)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| private ParameterMetadataImpl | |
| public Class | |
| public Set | |
| public ParameterMetadataImpl | |
| public Set | |
| public ReturnMetadata | |
| public String | |
| public String[] | getSqlStrings()
This method should only be called for debugging purposes as it regenerates a new array every time. |
| public QueryTranslator[] | Returns: The translatorsAccess to the underlying translators associated with this query |
| public Set | |
| protected int | Returns: a reasonable size to use for allocationIf we're able to guess a likely size of the results we can optimize allocation of our data structures. |
| public boolean | |
| public boolean | |
| public boolean | |
| public int | Returns: The aggregated "affected row" countThe query parameters queryParameters, SharedSessionContractImplementor The session session)Coordinates the efforts to perform an execution across all the included query translators. |
| public Iterator | Returns: The query result iteratorThe query parameters queryParameters, EventSource The session session)
Deprecated
as a consequence of
Coordinates the efforts to perform an iterate across all the included query translators.
EventSource being deprecated.
|
| public List | Returns: The query result listThe query parameters queryParameters, SharedSessionContractImplementor The session session)Coordinates the efforts to perform a list across all the included query translators. |
| public ScrollableResultsImplementor | Returns: The query result iteratorThe query parameters queryParameters, SharedSessionContractImplementor The session session)Coordinates the efforts to perform a scroll across all the included query translators. |
| enabledFilterNames | back to summary |
|---|---|
| private final Set<String> enabledFilterNames | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| parameterMetadata | back to summary |
|---|---|
| private final ParameterMetadataImpl parameterMetadata | |
| querySpaces | back to summary |
|---|---|
| private final Set<E> querySpaces | |
| returnMetadata | back to summary |
|---|---|
| private final ReturnMetadata returnMetadata | |
| shallow | back to summary |
|---|---|
| private final boolean shallow | |
| sourceQuery | back to summary |
|---|---|
| private final String sourceQuery | |
| translators | back to summary |
|---|---|
| private final QueryTranslator[] translators | |
| HQLQueryPlan | back to summary |
|---|---|
| public HQLQueryPlan(String hql, boolean shallow, Map<String, Filter> enabledFilters, SessionFactoryImplementor factory)
Deprecated as a consequence of Constructs a HQLQueryPlan
| |
| HQLQueryPlan | back to summary |
|---|---|
| public HQLQueryPlan(String hql, boolean shallow, Map<String, Filter> enabledFilters, SessionFactoryImplementor factory, EntityGraphQueryHint entityGraphQueryHint)
Deprecated as a consequence of | |
| HQLQueryPlan | back to summary |
|---|---|
| protected HQLQueryPlan(String hql, String collectionRole, boolean shallow, Map<String, Filter> enabledFilters, SessionFactoryImplementor factory, EntityGraphQueryHint entityGraphQueryHint)
Deprecated as a consequence of
| |
| buildParameterMetadata | back to summary |
|---|---|
| private ParameterMetadataImpl buildParameterMetadata(ParameterTranslations parameterTranslations, String hql) | |
| getDynamicInstantiationResultType | back to summary |
|---|---|
| public Class | |
| getEnabledFilterNames | back to summary |
|---|---|
| public Set | |
| getParameterMetadata | back to summary |
|---|---|
| public ParameterMetadataImpl getParameterMetadata() | |
| getQuerySpaces | back to summary |
|---|---|
| public Set | |
| getReturnMetadata | back to summary |
|---|---|
| public ReturnMetadata getReturnMetadata() | |
| getSourceQuery | back to summary |
|---|---|
| public String getSourceQuery() | |
| getSqlStrings | back to summary |
|---|---|
| public String[] getSqlStrings() This method should only be called for debugging purposes as it regenerates a new array every time. | |
| getTranslators | back to summary |
|---|---|
| public QueryTranslator[] getTranslators() Access to the underlying translators associated with this query
| |
| getUtilizedFilterNames | back to summary |
|---|---|
| public Set | |
| guessResultSize | back to summary |
|---|---|
| protected int guessResultSize(RowSelection rowSelection) If we're able to guess a likely size of the results we can optimize allocation of our data structures. Essentially if we detect the user is not using pagination, we attempt to use the FetchSize as a reasonable hint. If fetch size is not being set either, it is reasonable to expect that we're going to have a single hit. In such a case it would be tempting to return a constant of value one, but that's dangerous as it doesn't scale up appropriately for example with an ArrayList if the guess is wrong.
| |
| isSelect | back to summary |
|---|---|
| public boolean isSelect() | |
| isShallow | back to summary |
|---|---|
| public boolean isShallow() | |
| isUpdate | back to summary |
|---|---|
| public boolean isUpdate() | |
| performExecuteUpdate | back to summary |
|---|---|
| public int performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session) throws HibernateException Coordinates the efforts to perform an execution across all the included query translators.
| |
| performIterate | back to summary |
|---|---|
| public Iterator Deprecated as a consequence of Coordinates the efforts to perform an iterate across all the included query translators.
| |
| performList | back to summary |
|---|---|
| public List Coordinates the efforts to perform a list across all the included query translators.
| |
| performScroll | back to summary |
|---|---|
| public ScrollableResultsImplementor performScroll(QueryParameters queryParameters, SharedSessionContractImplementor session) throws HibernateException Coordinates the efforts to perform a scroll across all the included query translators.
| |