X
- The concrete builder typeBaseModificationCriteriaBuilder<X>
, BaseWhereBuilder<X>
, CommonQueryBuilder<X>
, ConfigurationSource
, CTEBuilder<X>
, Executable
, ParameterHolder<X>
, ServiceProvider
, WhereBuilder<X>
DeleteCriteriaBuilder<T>
, InsertCriteriaBuilder<T>
, UpdateCriteriaBuilder<T>
public interface ModificationCriteriaBuilder<X extends ModificationCriteriaBuilder<X>> extends Executable, CommonQueryBuilder<X>, BaseModificationCriteriaBuilder<X>, CTEBuilder<X>
Modifier and Type | Method | Description |
---|---|---|
<T> ReturningResult<T> |
executeWithReturning(ReturningObjectBuilder<T> objectBuilder) |
Executes the modification query and returns an object consisting of the attributes applied by the object builder.
|
ReturningResult<javax.persistence.Tuple> |
executeWithReturning(String... attributes) |
Executes the modification query and returns the given attributes as tuples.
|
<T> ReturningResult<T> |
executeWithReturning(String attribute,
Class<T> type) |
Executes the modification query and returns the given attribute with the specified type.
|
From |
getRoot() |
Returns the query root.
|
<T> javax.persistence.TypedQuery<ReturningResult<T>> |
getWithReturningQuery(ReturningObjectBuilder<T> objectBuilder) |
Creates a query that contains the modification query and returns an object consisting of the attributes applied by the object builder.
|
javax.persistence.TypedQuery<ReturningResult<javax.persistence.Tuple>> |
getWithReturningQuery(String... attributes) |
Creates a query that contains the modification query and returns the given attributes as tuples.
|
<T> javax.persistence.TypedQuery<ReturningResult<T>> |
getWithReturningQuery(String attribute,
Class<T> type) |
Creates a query that contains the modification query and returns the given attribute with the specified type.
|
where, whereCase, whereExists, whereExists, whereNotExists, whereNotExists, whereSimpleCase, whereSubqueries, whereSubquery, whereSubquery, whereSubquery, whereSubquery
getCriteriaBuilderFactory, getMetamodel, isCacheable, registerMacro, setCacheable, setProperties, setProperty
getProperties, getProperty
with, withCtesFrom, withRecursive, withReturning, withStartSet
executeUpdate, getQuery, getQueryString
containsParameter, getParameter, getParameters, getParameterValue, isParameterSet, setParameter, setParameter, setParameter, setParameterType
getService
setWhereExpression, setWhereExpressionSubqueries, whereOr
From getRoot()
ReturningResult<javax.persistence.Tuple> executeWithReturning(String... attributes)
attributes
- The attributes of a changed entity to return<T> ReturningResult<T> executeWithReturning(String attribute, Class<T> type)
T
- The result type of the attributeattribute
- The attribute of a changed entity to returntype
- The type of the attribute<T> ReturningResult<T> executeWithReturning(ReturningObjectBuilder<T> objectBuilder)
T
- The type of the object constructed by the object builderobjectBuilder
- The object builder that applies attributes and constructs the result objectsjavax.persistence.TypedQuery<ReturningResult<javax.persistence.Tuple>> getWithReturningQuery(String... attributes)
attributes
- The attributes of a changed entity to return<T> javax.persistence.TypedQuery<ReturningResult<T>> getWithReturningQuery(String attribute, Class<T> type)
T
- The result type of the attributeattribute
- The attribute of a changed entity to returntype
- The type of the attribute<T> javax.persistence.TypedQuery<ReturningResult<T>> getWithReturningQuery(ReturningObjectBuilder<T> objectBuilder)
T
- The type of the object constructed by the object builderobjectBuilder
- The object builder that applies attributes and constructs the result objectsCopyright © 2014–2019 Blazebit. All rights reserved.