| Modifier and Type | Field and Description |
|---|---|
| private final Supplier |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close()
Implements org. |
| public NonSelectQueryPlan | |
| public int | |
| public int | |
| public boolean | |
| public HqlInterpretation | resolveHqlInterpretation(String queryString, Class<?> expectedResultType, Function<String, SqmStatement<?>> creator)
Implements org. |
| public ParameterInterpretation | resolveNativeQueryParameters(String queryString, Function<String, ParameterInterpretation> creator)
Implements org. |
| public <R> SelectQueryPlan |
| statisticsSupplier | back to summary |
|---|---|
| private final Supplier<StatisticsImplementor> statisticsSupplier | |
| QueryInterpretationCacheDisabledImpl | back to summary |
|---|---|
| public QueryInterpretationCacheDisabledImpl(Supplier<StatisticsImplementor> statisticsSupplier) | |
| cacheNonSelectQueryPlan | back to summary |
|---|---|
| public void cacheNonSelectQueryPlan(QueryInterpretationCache. Implements org.
| |
| close | back to summary |
|---|---|
| public void close() Implements org. Doc from org. Close the cache when the SessionFactory is closed. Note that depending on the cache strategy implementation chosen, clearing the cache might not reclaim all the memory. Typically, when using LIRS, clearing the cache only invalidates the entries but the outdated entries are kept in memory until they are replaced by others. It is not considered a memory leak as the cache is bounded.
| |
| getNonSelectQueryPlan | back to summary |
|---|---|
| public NonSelectQueryPlan getNonSelectQueryPlan(QueryInterpretationCache. Implements org.
| |
| getNumberOfCachedHqlInterpretations | back to summary |
|---|---|
| public int getNumberOfCachedHqlInterpretations() Implements org.
| |
| getNumberOfCachedQueryPlans | back to summary |
|---|---|
| public int getNumberOfCachedQueryPlans() Implements org.
| |
| isEnabled | back to summary |
|---|---|
| public boolean isEnabled() Implements org.
| |
| resolveHqlInterpretation | back to summary |
|---|---|
| public HqlInterpretation resolveHqlInterpretation(String queryString, Class<?> expectedResultType, Function<String, SqmStatement<?>> creator) Implements org.
| |
| resolveNativeQueryParameters | back to summary |
|---|---|
| public ParameterInterpretation resolveNativeQueryParameters(String queryString, Function<String, ParameterInterpretation> creator) Implements org.
| |
| resolveSelectQueryPlan | back to summary |
|---|---|
| public <R> SelectQueryPlan Implements org.
| |