Class CustomReturningModificationQueryPlan<T>
- java.lang.Object
-
- com.blazebit.persistence.impl.plan.CustomReturningModificationQueryPlan<T>
-
- All Implemented Interfaces:
ModificationQueryPlan,SelectQueryPlan<com.blazebit.persistence.ReturningResult<T>>
public class CustomReturningModificationQueryPlan<T> extends Object implements ModificationQueryPlan, SelectQueryPlan<com.blazebit.persistence.ReturningResult<T>>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
-
Constructor Summary
Constructors Constructor Description CustomReturningModificationQueryPlan(com.blazebit.persistence.spi.ExtendedQuerySupport extendedQuerySupport, com.blazebit.persistence.spi.ServiceProvider serviceProvider, javax.persistence.Query modificationBaseQuery, javax.persistence.Query delegate, com.blazebit.persistence.ReturningObjectBuilder<T> objectBuilder, List<javax.persistence.Query> participatingQueries, String sql, int firstResult, int maxResults, boolean requiresWrapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecuteUpdate()List<com.blazebit.persistence.ReturningResult<T>>getResultList()com.blazebit.persistence.ReturningResult<T>getSingleResult()
-
-
-
Constructor Detail
-
CustomReturningModificationQueryPlan
public CustomReturningModificationQueryPlan(com.blazebit.persistence.spi.ExtendedQuerySupport extendedQuerySupport, com.blazebit.persistence.spi.ServiceProvider serviceProvider, javax.persistence.Query modificationBaseQuery, javax.persistence.Query delegate, com.blazebit.persistence.ReturningObjectBuilder<T> objectBuilder, List<javax.persistence.Query> participatingQueries, String sql, int firstResult, int maxResults, boolean requiresWrapping)
-
-
Method Detail
-
executeUpdate
public int executeUpdate()
- Specified by:
executeUpdatein interfaceModificationQueryPlan
-
getResultList
public List<com.blazebit.persistence.ReturningResult<T>> getResultList()
- Specified by:
getResultListin interfaceSelectQueryPlan<T>
-
getSingleResult
public com.blazebit.persistence.ReturningResult<T> getSingleResult()
- Specified by:
getSingleResultin interfaceSelectQueryPlan<T>
-
-