| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SqmSelectionQueryImplementor | disableFetchProfile(String
the name of the fetch profile to be disabled profileName)Implements org. fetch profile
with the given name in this session.
|
| public SqmSelectionQueryImplementor | enableFetchProfile(String
the name of the fetch profile to be enabled profileName)Implements org. fetch profile
for this query.
|
| public <T> T | executeQuery(ResultsConsumer<T, R> resultsConsumer)
Implements org. |
| public CacheMode | getCacheMode()
Implements org. CacheMode in effect for this query.
|
| public String | getCacheRegion()
Implements org. isCacheable() for more information).
|
| public CacheRetrieveMode | |
| public CacheStoreMode | |
| public String | getComment()
Implements org. |
| protected abstract SqmSelectionQueryImplementor | |
| public Integer | getFetchSize()
Implements org. |
| public int | getFirstResult()
Implements org. |
| public FlushModeType | getFlushMode()
Implements org. FlushModeType in effect for this query.
|
| public FlushMode | getHibernateFlushMode()
Implements org. FlushMode in effect for this query.
|
| public LockMode | getHibernateLockMode()
Implements org. LockMode for the query
|
| public LockModeType | getLockMode()
Implements org. LockModeType for the query
|
| public LockOptions | getLockOptions()
Implements org. LockOptions currently in effect for the query
|
| public int | getMaxResults()
Implements org. |
| public ParameterMetadata | |
| public QueryOptions | |
| public String | |
| public List | getResultList()
Overrides default org. List.
|
| public Stream | getResultStream()
Overrides default org. Stream.
|
| public R | getSingleResult()
Implements org. |
| public R | getSingleResultOrNull()
Implements org. null if the query returns no results.
|
| public SqmStatement | |
| public Integer | getTimeout()
Implements org. |
| public boolean | isCacheable()
Implements org. |
| public boolean | isQueryPlanCacheable()
Implements org. |
| public boolean | isReadOnly()
Implements org. |
| public List | list()
Implements org. List.
|
| public ScrollableResults | scroll()
Implements org. |
| public ScrollableResults | scroll(ScrollMode scrollMode)
Implements org. |
| public @Remove SqmSelectionQueryImplementor | setAliasSpecificLockMode(String alias, LockMode lockMode)
Implements org.
Deprecated
since 6.2.
Specify a LockMode to apply to a specific alias defined in the query
|
| public SqmSelectionQueryImplementor | setCacheable(boolean cacheable)
Implements org. |
| public SqmSelectionQueryImplementor | setCacheMode(CacheMode cacheMode)
Implements org. CacheMode in effect for this query.
|
| public SqmSelectionQueryImplementor | setCacheRegion(String cacheRegion)
Implements org. isCacheable).
|
| public SqmSelectionQueryImplementor | setCacheRetrieveMode(CacheRetrieveMode cacheRetrieveMode)
Implements org. |
| public SqmSelectionQueryImplementor | setCacheStoreMode(CacheStoreMode cacheStoreMode)
Implements org. |
| public SqmSelectionQueryImplementor | setComment(String comment)
Implements org. |
| public SqmSelectionQueryImplementor | setEntityGraph(EntityGraph<R> graph, GraphSemantic semantic)
Implements org. EntityGraph to the query.
|
| public SqmSelectionQueryImplementor | setFetchSize(int
the fetch size hint fetchSize)Implements org. |
| public SqmSelectionQueryImplementor | setFirstResult(int startPosition)
Implements org. |
| public SqmSelectionQueryImplementor | setFlushMode(FlushModeType flushMode)
Implements org. FlushMode in to use for this query.
|
| public SqmSelectionQueryImplementor | setFollowOnLocking(boolean enable)
Implements org. |
| public SqmSelectionQueryImplementor | setHibernateFlushMode(FlushMode flushMode)
Implements org. FlushMode in effect for this query.
|
| public SqmSelectionQueryImplementor | setHibernateLockMode(LockMode lockMode)
Implements org. LockMode for the query
|
| public SqmSelectionQueryImplementor | setHint(String hintName, Object value)
Implements org. |
| public SqmSelectionQueryImplementor | setLockMode(LockModeType lockMode)
Implements org. LockModeType for the query
|
| public SqmSelectionQueryImplementor | setLockMode(String alias, LockMode lockMode)
Implements org. LockMode to apply to a specific alias defined in the query
|
| public SqmSelectionQueryImplementor | setMaxResults(int maxResult)
Implements org. |
| public SqmSelectionQueryImplementor | |
| public SqmSelectionQueryImplementor | setOrder(Order<? super R>
an instance of order)OrderImplements org. |
| public SqmSelectionQueryImplementor | setPage(Page page)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(String name, Object value)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameter(String name, P value, Class<P> type)
Implements org. Class reference to attempt to infer the BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameter(String name, P value, BindableType<P> type)
Implements org. BindableType.
|
| public SqmSelectionQueryImplementor | setParameter(String name, Instant value, TemporalType temporalType)
Implements org. Instant to the named query parameter using just the
portion indicated by the given TemporalType.
|
| public SqmSelectionQueryImplementor | setParameter(String name, Calendar value, TemporalType temporalType)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(String name, Date value, TemporalType temporalType)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(int position, Object value)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameter(int position, P value, Class<P> type)
Implements org. Class reference to attempt to infer the BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameter(int position, P value, BindableType<P> type)
Implements org. BindableType.
|
| public SqmSelectionQueryImplementor | setParameter(int position, Instant value, TemporalType temporalType)
Implements org. Instant to an ordinal query parameter using just the
portion indicated by the given TemporalType.
|
| public SqmSelectionQueryImplementor | setParameter(int position, Date value, TemporalType temporalType)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(int position, Calendar value, TemporalType temporalType)
Implements org. |
| public <T> SqmSelectionQueryImplementor | setParameter(QueryParameter<T>
the query parameter memento parameter, T the argument, which might be null value)Implements org. QueryParameter.
|
| public <P> SqmSelectionQueryImplementor | setParameter(QueryParameter<P>
the query parameter memento parameter, P the argument, which might be null value, Class<P> a type)BindableType representing the type of the parameterImplements org. QueryParameter, using the given Class reference to attempt
to infer the BindableType to use.
|
| public <P> SqmSelectionQueryImplementor | setParameter(QueryParameter<P>
the query parameter memento parameter, P the argument, which might be null val, BindableType<P> a type)BindableType representing the type of the parameterImplements org. QueryParameter, using the given BindableType.
|
| public <T> SqmSelectionQueryImplementor | setParameter(Parameter<T> param, T value)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(Parameter<Calendar> param, Calendar value, TemporalType temporalType)
Implements org. |
| public SqmSelectionQueryImplementor | setParameter(Parameter<Date> param, Date value, TemporalType temporalType)
Implements org. |
| public SqmSelectionQueryImplementor | setParameterList(String name, Collection<E> values)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameterList(String name, Collection<? extends P> values, Class<P> javaType)
Implements org. Class reference to attempt to infer the BindableType
If unable to infer an appropriate BindableType, fall back to
setParameterList(String, Collection).
|
| public <P> SqmSelectionQueryImplementor | setParameterList(String name, Collection<? extends P> values, BindableType<P> type)
Implements org. BindableType.
|
| public SqmSelectionQueryImplementor | setParameterList(String name, Object[] values)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameterList(String name, P[] values, Class<P> javaType)
Implements org. BindableType
to use.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(String name, P[] values, BindableType<P> type)
Implements org. BindableType.
|
| public SqmSelectionQueryImplementor | setParameterList(int position, Collection<E> values)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameterList(int position, Collection<? extends P> values, Class<P> javaType)
Implements org. Class reference to attempt to infer the BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(int position, Collection<? extends P> values, BindableType<P> type)
Implements org. BindableType.
|
| public SqmSelectionQueryImplementor | setParameterList(int position, Object[] values)
Implements org. |
| public <P> SqmSelectionQueryImplementor | setParameterList(int position, P[] values, Class<P> javaType)
Implements org. Class reference to attempt to infer the BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(int position, P[] values, BindableType<P> type)
Implements org. BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P>
the parameter memento parameter, Collection<? extends P> a collection of arguments values)Implements org. QueryParameter.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, Class<P> javaType)
Implements org. QueryParameter using the given Class reference
to attempt to infer the BindableType to use.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P> parameter, Collection<? extends P> values, BindableType<P> type)
Implements org. QueryParameter, using the given BindableType.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P>
the parameter memento parameter, P[] a collection of arguments values)Implements org. QueryParameter.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P> parameter, P[] values, Class<P> javaType)
Implements org. QueryParameter using the given Class reference
to attempt to infer the BindableType to use.
|
| public <P> SqmSelectionQueryImplementor | setParameterList(QueryParameter<P> parameter, P[] values, BindableType<P> type)
Implements org. QueryParameter, using the given the BindableType.
|
| public SqmSelectionQueryImplementor | setProperties(Object
any JavaBean or POJO bean)Implements org. |
| public SqmSelectionQueryImplementor | setProperties(Map<K, V>
a bean)Map of names to argumentsImplements org. Map to named parameters of the
query, matching key names with parameter names and mapping value types
to Hibernate types using heuristics.
|
| public SqmSelectionQueryImplementor | setQueryPlanCacheable(boolean queryPlanCacheable)
Implements org. |
| public SqmSelectionQueryImplementor | setReadOnly(boolean
true indicates that entities and proxies
loaded by the query are to be put in read-only mode;
false indicates that entities and proxies
loaded by the query will be put in modifiable modeImplements org. Query.
|
| public SqmSelectionQueryImplementor | setTimeout(int
the timeout in seconds timeout)Implements org. |
| public Stream | stream()
Overrides default org. Stream.
|
| public R | uniqueResult()
Implements org. null if the query returns no results.
|
| public Optional | uniqueResultOptional()
Implements org. Optional.
|