Package org.hibernate.reactive.mutiny
Interface Mutiny.Query<R>
-
- All Superinterfaces:
org.hibernate.query.CommonQueryContract
,Mutiny.MutationQuery<R>
,Mutiny.SelectionQuery<R>
- All Known Subinterfaces:
Mutiny.NativeQuery<R>
- All Known Implementing Classes:
MutinyNativeQueryImpl
,MutinyQueryImpl
- Enclosing interface:
- Mutiny
public static interface Mutiny.Query<R> extends Mutiny.SelectionQuery<R>, Mutiny.MutationQuery<R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Mutiny.Query<R>
addQueryHint(java.lang.String hint)
default Mutiny.Query<R>
applyFetchGraph(org.hibernate.graph.RootGraph graph)
Mutiny.Query<R>
applyGraph(org.hibernate.graph.RootGraph graph, org.hibernate.graph.GraphSemantic semantic)
default Mutiny.Query<R>
applyLoadGraph(org.hibernate.graph.RootGraph graph)
java.lang.String
getComment()
org.hibernate.LockOptions
getLockOptions()
org.hibernate.query.ParameterMetadata
getParameterMetadata()
org.hibernate.query.spi.QueryOptions
getQueryOptions()
java.lang.String
getQueryString()
Mutiny.Query<R>
setCacheable(boolean cacheable)
Mutiny.Query<R>
setCacheMode(org.hibernate.CacheMode cacheMode)
Mutiny.Query<R>
setCacheRegion(java.lang.String cacheRegion)
Mutiny.Query<R>
setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
Mutiny.Query<R>
setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
Mutiny.Query<R>
setComment(java.lang.String comment)
Mutiny.Query<R>
setFetchSize(int fetchSize)
Mutiny.Query<R>
setFirstResult(int startPosition)
Mutiny.Query<R>
setFlushMode(jakarta.persistence.FlushModeType flushMode)
Mutiny.Query<R>
setHibernateFlushMode(org.hibernate.FlushMode flushMode)
Mutiny.Query<R>
setHint(java.lang.String hintName, java.lang.Object value)
Mutiny.Query<R>
setLockMode(jakarta.persistence.LockModeType lockMode)
Mutiny.Query<R>
setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
Mutiny.Query<R>
setLockOptions(org.hibernate.LockOptions lockOptions)
Mutiny.Query<R>
setMaxResults(int maxResult)
Mutiny.Query<R>
setParameter(int parameter, java.lang.Object argument)
Bind the given argument to an ordinal query parameter.Mutiny.Query<R>
setParameter(int parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.Mutiny.Query<R>
setParameter(int parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
Query
overrideMutiny.Query<R>
setParameter(int parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
Query
override<P> Mutiny.Query<R>
setParameter(int parameter, P argument, java.lang.Class<P> type)
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameter(int parameter, P argument, org.hibernate.query.BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType
.Mutiny.Query<R>
setParameter(jakarta.persistence.Parameter<java.util.Calendar> parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
Mutiny.Query<R>
setParameter(jakarta.persistence.Parameter<java.util.Date> parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
<T> Mutiny.Query<R>
setParameter(jakarta.persistence.Parameter<T> parameter, T argument)
Mutiny.Query<R>
setParameter(java.lang.String parameter, java.lang.Object argument)
Mutiny.Query<R>
setParameter(java.lang.String parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.Mutiny.Query<R>
setParameter(java.lang.String parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
Mutiny.Query<R>
setParameter(java.lang.String parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
<P> Mutiny.Query<R>
setParameter(java.lang.String parameter, P argument, java.lang.Class<P> type)
<P> Mutiny.Query<R>
setParameter(java.lang.String parameter, P argument, org.hibernate.query.BindableType<P> type)
<P> Mutiny.Query<R>
setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, java.lang.Class<P> type)
<P> Mutiny.Query<R>
setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, org.hibernate.query.BindableType<P> type)
<T> Mutiny.Query<R>
setParameter(org.hibernate.query.QueryParameter<T> parameter, T argument)
Mutiny.Query<R>
setParameterList(int parameter, java.lang.Object[] arguments)
Bind multiple arguments to an ordinal query parameter.Mutiny.Query<R>
setParameterList(int parameter, java.util.Collection arguments)
Bind multiple arguments to an ordinal query parameter.<P> Mutiny.Query<R>
setParameterList(int parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameterList(int parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.<P> Mutiny.Query<R>
setParameterList(int parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameterList(int parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.Mutiny.Query<R>
setParameterList(java.lang.String parameter, java.lang.Object[] values)
Bind multiple arguments to a named query parameter.Mutiny.Query<R>
setParameterList(java.lang.String parameter, java.util.Collection arguments)
<P> Mutiny.Query<R>
setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
<P> Mutiny.Query<R>
setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> Mutiny.Query<R>
setParameterList(java.lang.String parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameterList(java.lang.String parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use.<P> Mutiny.Query<R>
setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.Mutiny.Query<R>
setProperties(java.lang.Object bean)
Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.Mutiny.Query<R>
setProperties(java.util.Map bean)
Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.Mutiny.Query<R>
setReadOnly(boolean readOnly)
Mutiny.Query<R>
setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
Mutiny.Query<R>
setTimeout(int timeout)
<T> Mutiny.Query<T>
setTupleTransformer(org.hibernate.query.TupleTransformer<T> transformer)
-
Methods inherited from interface org.hibernate.query.CommonQueryContract
getFlushMode, getHibernateFlushMode, getTimeout
-
Methods inherited from interface org.hibernate.reactive.mutiny.Mutiny.MutationQuery
executeUpdate
-
Methods inherited from interface org.hibernate.reactive.mutiny.Mutiny.SelectionQuery
getCacheMode, getCacheRegion, getCacheRetrieveMode, getCacheStoreMode, getFetchSize, getFirstResult, getHibernateLockMode, getLockMode, getResultList, getSingleResult, getSingleResultOrNull, isCacheable, isReadOnly, list, setAliasSpecificLockMode, setFollowOnLocking, setHibernateLockMode, uniqueResult, uniqueResultOptional
-
-
-
-
Method Detail
-
getQueryString
java.lang.String getQueryString()
-
applyGraph
Mutiny.Query<R> applyGraph(org.hibernate.graph.RootGraph graph, org.hibernate.graph.GraphSemantic semantic)
-
applyFetchGraph
default Mutiny.Query<R> applyFetchGraph(org.hibernate.graph.RootGraph graph)
-
applyLoadGraph
default Mutiny.Query<R> applyLoadGraph(org.hibernate.graph.RootGraph graph)
-
getComment
java.lang.String getComment()
- Specified by:
getComment
in interfaceorg.hibernate.query.CommonQueryContract
-
setComment
Mutiny.Query<R> setComment(java.lang.String comment)
- Specified by:
setComment
in interfaceorg.hibernate.query.CommonQueryContract
-
addQueryHint
Mutiny.Query<R> addQueryHint(java.lang.String hint)
-
getLockOptions
org.hibernate.LockOptions getLockOptions()
- Specified by:
getLockOptions
in interfaceMutiny.SelectionQuery<R>
-
setLockOptions
Mutiny.Query<R> setLockOptions(org.hibernate.LockOptions lockOptions)
-
setLockMode
Mutiny.Query<R> setLockMode(java.lang.String alias, org.hibernate.LockMode lockMode)
- Specified by:
setLockMode
in interfaceMutiny.SelectionQuery<R>
-
setTupleTransformer
<T> Mutiny.Query<T> setTupleTransformer(org.hibernate.query.TupleTransformer<T> transformer)
-
setResultListTransformer
Mutiny.Query<R> setResultListTransformer(org.hibernate.query.ResultListTransformer<R> transformer)
-
getQueryOptions
org.hibernate.query.spi.QueryOptions getQueryOptions()
-
getParameterMetadata
org.hibernate.query.ParameterMetadata getParameterMetadata()
-
setParameter
Mutiny.Query<R> setParameter(java.lang.String parameter, java.lang.Object argument)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.Query<R> setParameter(java.lang.String parameter, P argument, java.lang.Class<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.Query<R> setParameter(java.lang.String parameter, P argument, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(java.lang.String parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the named query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(java.lang.String parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(java.lang.String parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(int parameter, java.lang.Object argument)
Bind the given argument to an ordinal query parameter.If the type of the parameter cannot be inferred from the context in which it occurs, use one of the forms which accepts a "type".
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
- See Also:
setParameter(int, Object, Class)
,setParameter(int, Object, BindableType)
-
setParameter
<P> Mutiny.Query<R> setParameter(int parameter, P argument, java.lang.Class<P> type)
Bind the given argument to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameter(int, Object)
is used.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
- See Also:
setParameter(int, Object, BindableType)
-
setParameter
<P> Mutiny.Query<R> setParameter(int parameter, P argument, org.hibernate.query.BindableType<P> type)
Bind the given argument to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(int parameter, java.time.Instant argument, jakarta.persistence.TemporalType temporalType)
Bind anInstant
value to the ordinal query parameter using just the portion indicated by the givenTemporalType
.- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(int parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(int parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
Query
override- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<T> Mutiny.Query<R> setParameter(org.hibernate.query.QueryParameter<T> parameter, T argument)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.Query<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, java.lang.Class<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<P> Mutiny.Query<R> setParameter(org.hibernate.query.QueryParameter<P> parameter, P argument, org.hibernate.query.BindableType<P> type)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
<T> Mutiny.Query<R> setParameter(jakarta.persistence.Parameter<T> parameter, T argument)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(jakarta.persistence.Parameter<java.util.Calendar> parameter, java.util.Calendar argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameter
Mutiny.Query<R> setParameter(jakarta.persistence.Parameter<java.util.Date> parameter, java.util.Date argument, jakarta.persistence.TemporalType temporalType)
- Specified by:
setParameter
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameter
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameter
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
Mutiny.Query<R> setParameterList(java.lang.String parameter, java.util.Collection arguments)
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
<P> Mutiny.Query<R> setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
-
setParameterList
<P> Mutiny.Query<R> setParameterList(java.lang.String parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.Query<R> setParameterList(java.lang.String parameter, java.lang.Object[] values)
Bind multiple arguments to a named query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(java.lang.String parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to a named query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
setParameterList(java.lang.String, Object[], BindableType)
-
setParameterList
<P> Mutiny.Query<R> setParameterList(java.lang.String parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to a named query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.Query<R> setParameterList(int parameter, java.util.Collection arguments)
Bind multiple arguments to an ordinal query parameter. The "type mapping" for the binding is inferred from the type of the first collection element.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(int parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
setParameterList(int, Collection, BindableType)
-
setParameterList
<P> Mutiny.Query<R> setParameterList(int parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
Mutiny.Query<R> setParameterList(int parameter, java.lang.Object[] arguments)
Bind multiple arguments to an ordinal query parameter.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(int parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to an ordinal query parameter using the givenClass
reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
setParameterList(int, Object[], BindableType)
-
setParameterList
<P> Mutiny.Query<R> setParameterList(int parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to an ordinal query parameter using the givenBindableType
.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
.The type of the parameter is inferred from the context in which it occurs, and from the type of the first given argument.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Parameters:
parameter
- the parameter mementoarguments
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameterList(String, Collection)
is used.- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
setParameterList(QueryParameter, java.util.Collection, BindableType)
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, java.util.Collection<? extends P> arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.The "type mapping" for the binding is inferred from the type of the first collection element.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
The type of the parameter is inferred between the context in which it occurs, the type associated with the QueryParameter and the type of the first given argument.
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Parameters:
parameter
- the parameter mementoarguments
- a collection of arguments- Returns:
this
, for method chaining
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, java.lang.Class<P> javaType)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
using the given Class reference to attempt to determine theBindableType
to use. If unable to determine an appropriateBindableType
,setParameterList(String, Collection)
is used- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining- See Also:
setParameterList(QueryParameter, Object[], BindableType)
-
setParameterList
<P> Mutiny.Query<R> setParameterList(org.hibernate.query.QueryParameter<P> parameter, P[] arguments, org.hibernate.query.BindableType<P> type)
Bind multiple arguments to the query parameter represented by the givenQueryParameter
, inferring theBindableType
.The "type mapping" for the binding is inferred from the type of the first collection element
- Specified by:
setParameterList
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setParameterList
in interfaceMutiny.MutationQuery<R>
- Specified by:
setParameterList
in interfaceMutiny.SelectionQuery<R>
- Returns:
this
, for method chaining
-
setProperties
Mutiny.Query<R> setProperties(java.lang.Object bean)
Bind the property values of the given bean to named parameters of the query, matching property names with parameter names and mapping property types to Hibernate types using heuristics.- Specified by:
setProperties
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setProperties
in interfaceMutiny.MutationQuery<R>
- Specified by:
setProperties
in interfaceMutiny.SelectionQuery<R>
- Parameters:
bean
- any JavaBean or POJO- Returns:
this
, for method chaining
-
setProperties
Mutiny.Query<R> setProperties(java.util.Map bean)
Bind the values of the given Map for each named parameters of the query, matching key names with parameter names and mapping value types to Hibernate types using heuristics.- Specified by:
setProperties
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setProperties
in interfaceMutiny.MutationQuery<R>
- Specified by:
setProperties
in interfaceMutiny.SelectionQuery<R>
- Parameters:
bean
- aMap
of names to arguments- Returns:
this
, for method chaining
-
setHibernateFlushMode
Mutiny.Query<R> setHibernateFlushMode(org.hibernate.FlushMode flushMode)
- Specified by:
setHibernateFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHibernateFlushMode
in interfaceMutiny.MutationQuery<R>
- Specified by:
setHibernateFlushMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheable
Mutiny.Query<R> setCacheable(boolean cacheable)
- Specified by:
setCacheable
in interfaceMutiny.SelectionQuery<R>
-
setCacheRegion
Mutiny.Query<R> setCacheRegion(java.lang.String cacheRegion)
- Specified by:
setCacheRegion
in interfaceMutiny.SelectionQuery<R>
-
setCacheMode
Mutiny.Query<R> setCacheMode(org.hibernate.CacheMode cacheMode)
- Specified by:
setCacheMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheStoreMode
Mutiny.Query<R> setCacheStoreMode(jakarta.persistence.CacheStoreMode cacheStoreMode)
- Specified by:
setCacheStoreMode
in interfaceMutiny.SelectionQuery<R>
-
setCacheRetrieveMode
Mutiny.Query<R> setCacheRetrieveMode(jakarta.persistence.CacheRetrieveMode cacheRetrieveMode)
- Specified by:
setCacheRetrieveMode
in interfaceMutiny.SelectionQuery<R>
- See Also:
Mutiny.SelectionQuery.setCacheMode(CacheMode)
-
setTimeout
Mutiny.Query<R> setTimeout(int timeout)
- Specified by:
setTimeout
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setTimeout
in interfaceMutiny.SelectionQuery<R>
-
setFetchSize
Mutiny.Query<R> setFetchSize(int fetchSize)
- Specified by:
setFetchSize
in interfaceMutiny.SelectionQuery<R>
-
setReadOnly
Mutiny.Query<R> setReadOnly(boolean readOnly)
- Specified by:
setReadOnly
in interfaceMutiny.SelectionQuery<R>
-
setMaxResults
Mutiny.Query<R> setMaxResults(int maxResult)
- Specified by:
setMaxResults
in interfaceMutiny.SelectionQuery<R>
-
setFirstResult
Mutiny.Query<R> setFirstResult(int startPosition)
- Specified by:
setFirstResult
in interfaceMutiny.SelectionQuery<R>
-
setHint
Mutiny.Query<R> setHint(java.lang.String hintName, java.lang.Object value)
- Specified by:
setHint
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setHint
in interfaceMutiny.SelectionQuery<R>
-
setFlushMode
Mutiny.Query<R> setFlushMode(jakarta.persistence.FlushModeType flushMode)
- Specified by:
setFlushMode
in interfaceorg.hibernate.query.CommonQueryContract
- Specified by:
setFlushMode
in interfaceMutiny.SelectionQuery<R>
-
setLockMode
Mutiny.Query<R> setLockMode(jakarta.persistence.LockModeType lockMode)
- Specified by:
setLockMode
in interfaceMutiny.SelectionQuery<R>
-
-