Interface JpaSimpleCase<C,​R>

  • All Superinterfaces:
    jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>, jakarta.persistence.criteria.Expression<R>, JpaCriteriaNode, JpaExpression<R>, JpaSelection<R>, JpaTupleElement<R>, jakarta.persistence.criteria.Selection<R>, Serializable, jakarta.persistence.TupleElement<R>
    All Known Implementing Classes:
    SqmCaseSimple

    public interface JpaSimpleCase<C,​R>
    extends JpaExpression<R>, jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
    • Method Detail

      • getExpression

        JpaExpression<C> getExpression()
        Specified by:
        getExpression in interface jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
      • when

        JpaSimpleCase<C,​R> when​(C condition,
                                      R result)
        Specified by:
        when in interface jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
      • when

        JpaSimpleCase<C,​R> when​(C condition,
                                      jakarta.persistence.criteria.Expression<? extends R> result)
        Specified by:
        when in interface jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
      • otherwise

        JpaSimpleCase<C,​R> otherwise​(R result)
        Specified by:
        otherwise in interface jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>
      • otherwise

        JpaSimpleCase<C,​R> otherwise​(jakarta.persistence.criteria.Expression<? extends R> result)
        Specified by:
        otherwise in interface jakarta.persistence.criteria.CriteriaBuilder.SimpleCase<C,​R>