Class WMQueryExecutorImpl
- java.lang.Object
-
- com.wavemaker.runtime.data.dao.query.WMQueryExecutorImpl
-
- All Implemented Interfaces:
WMQueryExecutor
public class WMQueryExecutorImpl extends java.lang.Object implements WMQueryExecutor
-
-
Constructor Summary
Constructors Constructor Description WMQueryExecutorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.Page<java.lang.Object>executeCustomQuery(CustomQuery customQuery, org.springframework.data.domain.Pageable pageable)intexecuteCustomQueryForUpdate(CustomQuery customQuery)<T> TexecuteNamedQuery(QueryProcedureInput<T> queryInput)<T> org.springframework.data.domain.Page<T>executeNamedQuery(QueryProcedureInput<T> queryInput, org.springframework.data.domain.Pageable pageable)intexecuteNamedQuery(UpdatableQueryInput queryInput)org.springframework.data.domain.Page<java.lang.Object>executeRuntimeQuery(RuntimeQuery query, org.springframework.data.domain.Pageable pageable)intexecuteRuntimeQueryForUpdate(RuntimeQuery query)<T> voidexportNamedQueryData(QueryProcedureInput<T> queryInput, ExportOptions exportOptions, org.springframework.data.domain.Pageable pageable, java.io.OutputStream outputStream)org.springframework.orm.hibernate5.HibernateTemplategetTemplate()voidsetTemplate(org.springframework.orm.hibernate5.HibernateTemplate template)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.wavemaker.runtime.data.dao.query.WMQueryExecutor
executeNamedQuery, executeNamedQuery, executeNamedQuery, executeNamedQueryForUpdate, exportNamedQueryData
-
-
-
-
Method Detail
-
executeNamedQuery
public <T> T executeNamedQuery(QueryProcedureInput<T> queryInput)
- Specified by:
executeNamedQueryin interfaceWMQueryExecutor
-
executeNamedQuery
public <T> org.springframework.data.domain.Page<T> executeNamedQuery(QueryProcedureInput<T> queryInput, org.springframework.data.domain.Pageable pageable)
- Specified by:
executeNamedQueryin interfaceWMQueryExecutor
-
executeNamedQuery
public int executeNamedQuery(UpdatableQueryInput queryInput)
- Specified by:
executeNamedQueryin interfaceWMQueryExecutor
-
executeRuntimeQuery
public org.springframework.data.domain.Page<java.lang.Object> executeRuntimeQuery(RuntimeQuery query, org.springframework.data.domain.Pageable pageable)
- Specified by:
executeRuntimeQueryin interfaceWMQueryExecutor
-
executeRuntimeQueryForUpdate
public int executeRuntimeQueryForUpdate(RuntimeQuery query)
- Specified by:
executeRuntimeQueryForUpdatein interfaceWMQueryExecutor
-
executeCustomQuery
public org.springframework.data.domain.Page<java.lang.Object> executeCustomQuery(CustomQuery customQuery, org.springframework.data.domain.Pageable pageable)
- Specified by:
executeCustomQueryin interfaceWMQueryExecutor
-
executeCustomQueryForUpdate
public int executeCustomQueryForUpdate(CustomQuery customQuery)
- Specified by:
executeCustomQueryForUpdatein interfaceWMQueryExecutor
-
exportNamedQueryData
public <T> void exportNamedQueryData(QueryProcedureInput<T> queryInput, ExportOptions exportOptions, org.springframework.data.domain.Pageable pageable, java.io.OutputStream outputStream)
- Specified by:
exportNamedQueryDatain interfaceWMQueryExecutor
-
getTemplate
public org.springframework.orm.hibernate5.HibernateTemplate getTemplate()
-
setTemplate
public void setTemplate(org.springframework.orm.hibernate5.HibernateTemplate template)
-
-