public class ReactiveNativeQueryImpl<R> extends <any> implements ReactiveNativeQuery<R>
ReactiveNativeQuery
by extension of NativeQueryImpl
.Constructor and Description |
---|
ReactiveNativeQueryImpl(NamedSQLQueryDefinition queryDef, SharedSessionContractImplementor session, ParameterMetadata parameterMetadata) |
ReactiveNativeQueryImpl(String sqlString, boolean callable, SharedSessionContractImplementor session, ParameterMetadata sqlParameterMetadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertQueryException, extractUniqueResult, getCacheMode, getCacheRegion, getFirstResult, getMaxResults, getReturnTypes, isCacheable, isReadOnly
public ReactiveNativeQueryImpl(NamedSQLQueryDefinition queryDef, SharedSessionContractImplementor session, ParameterMetadata parameterMetadata)
public ReactiveNativeQueryImpl(String sqlString, boolean callable, SharedSessionContractImplementor session, ParameterMetadata sqlParameterMetadata)
public void setParameterMetadata(InterpretedParameterMetadata parameterMetadata)
setParameterMetadata
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setResultTransformer(ResultTransformer nativeQueryTupleTransformer)
setResultTransformer
in interface ReactiveNativeQuery<R>
setResultTransformer
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> addEntity(String alias, String name, LockMode read)
addEntity
in interface ReactiveNativeQuery<R>
public ReactiveNativeQueryImpl<R> setResultSetMapping(String name)
setResultSetMapping
in interface ReactiveNativeQuery<R>
public CompletionStage<R> getReactiveSingleResult()
getReactiveSingleResult
in interface ReactiveQuery<R>
public CompletionStage<Integer> executeReactiveUpdate()
executeReactiveUpdate
in interface ReactiveQuery<R>
public CompletionStage<List<R>> getReactiveResultList()
getReactiveResultList
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setParameter(int position, Object value)
setParameter
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setParameter(String name, Object value)
setParameter
in interface ReactiveQuery<R>
public <P> ReactiveNativeQueryImpl<R> setParameter(<any> parameter, P value)
public ReactiveNativeQueryImpl<R> setMaxResults(int maxResults)
setMaxResults
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setFirstResult(int firstResult)
setFirstResult
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setReadOnly(boolean readOnly)
setReadOnly
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setComment(String comment)
setComment
in interface ReactiveQuery<R>
public ReactiveQuery<R> setLockMode(LockMode lockMode)
setLockMode
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setLockOptions(LockOptions lockOptions)
setLockOptions
in interface ReactiveQuery<R>
public ReactiveQuery<R> setQueryHint(String hintName, Object value)
setQueryHint
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setLockMode(String alias, LockMode lockMode)
setLockMode
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setCacheMode(CacheMode cacheMode)
setCacheMode
in interface ReactiveQuery<R>
public FlushMode getHibernateFlushMode()
getHibernateFlushMode
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setHibernateFlushMode(FlushMode flushMode)
setHibernateFlushMode
in interface ReactiveQuery<R>
public void setPlan(<any> entityGraph)
setPlan
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setCacheable(boolean cacheable)
setCacheable
in interface ReactiveQuery<R>
public ReactiveNativeQueryImpl<R> setCacheRegion(String cacheRegion)
setCacheRegion
in interface ReactiveQuery<R>