Uses of Interface
com.speedment.jpastreamer.criteria.Criteria

  • Uses of Criteria in com.speedment.jpastreamer.criteria

    Modifier and Type
    Method
    Description
    <ENTITY, RETURN>
    Criteria<ENTITY,RETURN>
    CriteriaFactory.createCriteria(jakarta.persistence.criteria.CriteriaBuilder builder, jakarta.persistence.criteria.CriteriaQuery<RETURN> query, jakarta.persistence.criteria.Root<ENTITY> root)
    Creates and returns a Criteria containing the provided builder, query and root.
    default <ENTITY> Criteria<ENTITY,ENTITY>
    CriteriaFactory.createCriteria(jakarta.persistence.EntityManager entityManager, Class<ENTITY> entityClass)
    Creates and returns a Criteria where the CriteriaBuilder, CriteriaQuery and Root are created by the provided entityManager.
    default <ENTITY, RETURN>
    Criteria<ENTITY,RETURN>
    CriteriaFactory.createCriteria(jakarta.persistence.EntityManager entityManager, Class<ENTITY> entityClass, Class<RETURN> returnClass)
    Creates and returns a Criteria where the CriteriaBuilder, CriteriaQuery and Root are created by the provided entityManager.
    Methods in com.speedment.jpastreamer.criteria with parameters of type Criteria
    Modifier and Type
    Method
    Description
    <ENTITY> List<jakarta.persistence.criteria.Order>
    OrderFactory.createOrder(Criteria<ENTITY,?> criteria, Comparator<ENTITY> comparator)
    Creates and returns a JPA Order with the Comparator serving as the model from which the Order is created.
    <ENTITY> jakarta.persistence.criteria.Predicate
    PredicateFactory.createPredicate(Criteria<ENTITY,?> criteria, SpeedmentPredicate<ENTITY> speedmentPredicate)
    Creates and returns a JPA Predicate with the SpeedmentPredicate serving as the model.