Interface SourcePersistentEntityCriteriaQuery<T>

Type Parameters:
T - The entity type
All Superinterfaces:
jakarta.persistence.criteria.AbstractQuery<T>, jakarta.persistence.criteria.CommonAbstractCriteria, jakarta.persistence.criteria.CriteriaQuery<T>, io.micronaut.data.model.jpa.criteria.PersistentEntityCriteriaQuery<T>

public interface SourcePersistentEntityCriteriaQuery<T> extends io.micronaut.data.model.jpa.criteria.PersistentEntityCriteriaQuery<T>
The source persistent entity extension of PersistentEntityCriteriaQuery.
Since:
3.2
  • Method Summary

    Modifier and Type
    Method
    Description
    <X> @NonNull io.micronaut.data.model.jpa.criteria.PersistentEntityRoot<X>
    from(@NonNull io.micronaut.inject.ast.ClassElement entityClassElement)
    Creates a PersistentEntityRoot from class element representing the entity.
    @Nullable String
     

    Methods inherited from interface jakarta.persistence.criteria.AbstractQuery

    getGroupList, getGroupRestriction, getResultType, getRoots, getSelection, isDistinct

    Methods inherited from interface jakarta.persistence.criteria.CommonAbstractCriteria

    getRestriction, subquery

    Methods inherited from interface jakarta.persistence.criteria.CriteriaQuery

    getOrderList, getParameters

    Methods inherited from interface io.micronaut.data.model.jpa.criteria.PersistentEntityCriteriaQuery

    distinct, forUpdate, from, from, from, groupBy, groupBy, having, having, max, multiselect, multiselect, offset, orderBy, orderBy, select, where, where
  • Method Details

    • from

      @NonNull <X> @NonNull io.micronaut.data.model.jpa.criteria.PersistentEntityRoot<X> from(@NonNull @NonNull io.micronaut.inject.ast.ClassElement entityClassElement)
      Creates a PersistentEntityRoot from class element representing the entity.
      Type Parameters:
      X - The root type
      Parameters:
      entityClassElement - The entity class element
      Returns:
      new root
    • getQueryResultTypeName

      @Nullable @Nullable String getQueryResultTypeName()
      Returns:
      The query result type name