@Test(expected = UnsupportedOperationException.class) public void testSqrt() { cb.sqrt(null); }
@Override public Expression<Double> sqrt(final Expression<? extends Number> x) { throw new UnsupportedOperationException(); }
MinijaxCriteriaBuilder implements javax.persistence.criteria.CriteriaBuilder { @Override public Expression<Double> sqrt(final Expression<? extends Number> x) { throw new UnsupportedOperationException(); } }
MinijaxCriteriaBuilder implements javax.persistence.criteria.CriteriaBuilder { @Override public Expression<Double> sqrt(final Expression<? extends Number> x) { throw new UnsupportedOperationException(); } MinijaxCriteriaBuilder(final MinijaxMetamodel metamodel); }
MinijaxCriteriaBuilder implements javax.persistence.criteria.CriteriaBuilder { @Override public Expression<Double> sqrt(final Expression<? extends Number> x) { throw new UnsupportedOperationException(); } MinijaxCriteriaBuilder(final MinijaxMetamodel metamodel); MinijaxMetamodel getMetamodel(); @Override MinijaxCriteriaQuery<T> createQuery(final Class<T> resultClass); @Override MinijaxCriteriaQuery<Object> createQuery(); @Override MinijaxCriteriaQuery<Tuple> createTupleQuery(); @Override MinijaxCompoundSelection<Tuple> tuple(final Selection<?>... selections); @Override @SuppressWarnings({ "rawtypes", "unchecked", "java:S1221" }) // Ignore Sonar warning about confusing "equal" method MinijaxComparison equal(final Expression<?> x, final Object y); @Override @SuppressWarnings({ "rawtypes", "unchecked", "java:S1221" }) // Ignore Sonar warning about confusing "equal" method MinijaxComparison equal(final Expression<?> x, final Expression<?> y); @Override @SuppressWarnings("unchecked") MinijaxIn<T> in(final Expression<? extends T> expression); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxComparison isNull(final Expression<?> x); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxComparison isNotNull(final Expression<?> x); @Override @SuppressWarnings("unchecked") MinijaxPredicate like(final Expression<String> x, final Expression<String> pattern); @Override MinijaxPredicate like(final Expression<String> x, final String pattern); @Override @SuppressWarnings({ "unchecked", "rawtypes" }) MinijaxFunctionExpression<String> lower(final Expression<String> x); @Override @SuppressWarnings({ "unchecked", "rawtypes" }) Expression<String> upper(final Expression<String> x); @Override MinijaxConjunction and(final Expression<Boolean> x, final Expression<Boolean> y); @Override MinijaxConjunction and(final Predicate... restrictions); @Override MinijaxConjunction or(final Expression<Boolean> x, final Expression<Boolean> y); @Override MinijaxConjunction or(final Predicate... restrictions); @Override MinijaxOrder asc(final Expression<?> x); @Override MinijaxOrder desc(final Expression<?> x); @Override CriteriaUpdate<T> createCriteriaUpdate(final Class<T> targetEntity); @Override CriteriaDelete<T> createCriteriaDelete(final Class<T> targetEntity); @Override CompoundSelection<Y> construct(final Class<Y> resultClass, final Selection<?>... selections); @Override CompoundSelection<Object[]> array(final Selection<?>... selections); @Override Expression<Double> avg(final Expression<N> x); @Override Expression<N> max(final Expression<N> x); @Override Expression<N> min(final Expression<N> x); @Override Expression<X> greatest(final Expression<X> x); @Override Expression<X> least(final Expression<X> x); @Override Expression<Long> count(final Expression<?> x); @Override Expression<Long> countDistinct(final Expression<?> x); @Override Predicate exists(final Subquery<?> subquery); @Override Expression<Y> all(final Subquery<Y> subquery); @Override Expression<Y> some(final Subquery<Y> subquery); @Override Expression<Y> any(final Subquery<Y> subquery); @Override Predicate not(final Expression<Boolean> restriction); @Override Predicate conjunction(); @Override Predicate disjunction(); @Override Predicate isTrue(final Expression<Boolean> x); @Override Predicate isFalse(final Expression<Boolean> x); @Override Predicate notEqual(final Expression<?> x, final Expression<?> y); @Override Predicate notEqual(final Expression<?> x, final Object y); @Override Predicate greaterThan(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate greaterThan(final Expression<? extends Y> x, final Y y); @Override Predicate greaterThanOrEqualTo(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate greaterThanOrEqualTo(final Expression<? extends Y> x, final Y y); @Override Predicate lessThan(final Expression<? extends Y> x, final Expression<? extends Y> y); @Override Predicate lessThan(final Expression<? extends Y> x, final Y y); @Override Predicate lessThanOrEqualTo(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate lessThanOrEqualTo(final Expression<? extends Y> x, final Y y); @Override Predicate between(final Expression<? extends Y> v, final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate between(final Expression<? extends Y> v, final Y x, final Y y); @Override Predicate gt(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate gt(final Expression<? extends Number> x, final Number y); @Override Predicate ge(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate ge(final Expression<? extends Number> x, final Number y); @Override Predicate lt(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate lt(final Expression<? extends Number> x, final Number y); @Override Predicate le(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate le(final Expression<? extends Number> x, final Number y); @Override Expression<N> neg(final Expression<N> x); @Override Expression<N> abs(final Expression<N> x); @Override Expression<N> sum(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> sum(final Expression<? extends N> x, final N y); @Override Expression<N> sum(final N x, final Expression<? extends N> y); @Override Expression<N> sum(final Expression<N> x); @Override Expression<Long> sumAsLong(final Expression<Integer> x); @Override Expression<Double> sumAsDouble(final Expression<Float> x); @Override Expression<N> prod(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> prod(final Expression<? extends N> x, final N y); @Override Expression<N> prod(final N x, final Expression<? extends N> y); @Override Expression<N> diff(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> diff(final Expression<? extends N> x, final N y); @Override Expression<N> diff(final N x, final Expression<? extends N> y); @Override Expression<Number> quot(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Expression<Number> quot(final Expression<? extends Number> x, final Number y); @Override Expression<Number> quot(final Number x, final Expression<? extends Number> y); @Override Expression<Integer> mod(final Expression<Integer> x, final Expression<Integer> y); @Override Expression<Integer> mod(final Expression<Integer> x, final Integer y); @Override Expression<Integer> mod(final Integer x, final Expression<Integer> y); @Override Expression<Double> sqrt(final Expression<? extends Number> x); @Override Expression<Long> toLong(final Expression<? extends Number> number); @Override Expression<Integer> toInteger(final Expression<? extends Number> number); @Override Expression<Float> toFloat(final Expression<? extends Number> number); @Override Expression<Double> toDouble(final Expression<? extends Number> number); @Override Expression<BigDecimal> toBigDecimal(final Expression<? extends Number> number); @Override Expression<BigInteger> toBigInteger(final Expression<? extends Number> number); @Override Expression<String> toString(final Expression<Character> character); @Override Expression<T> literal(final T value); @Override Expression<T> nullLiteral(final Class<T> resultClass); @Override ParameterExpression<T> parameter(final Class<T> paramClass); @Override ParameterExpression<T> parameter(final Class<T> paramClass, final String name); @Override Predicate isEmpty(final Expression<C> collection); @Override Predicate isNotEmpty(final Expression<C> collection); @Override Expression<Integer> size(final Expression<C> collection); @Override Expression<Integer> size(final C collection); @Override Predicate isMember(final Expression<E> elem, final Expression<C> collection); @Override Predicate isMember(final E elem, final Expression<C> collection); @Override Predicate isNotMember(final Expression<E> elem, final Expression<C> collection); @Override Predicate isNotMember(final E elem, final Expression<C> collection); @Override Expression<Collection<V>> values(final M map); @Override Expression<Set<K>> keys(final M map); @Override Predicate like(final Expression<String> x, final Expression<String> pattern, final Expression<Character> escapeChar); @Override Predicate like(final Expression<String> x, final Expression<String> pattern, final char escapeChar); @Override Predicate like(final Expression<String> x, final String pattern, final Expression<Character> escapeChar); @Override Predicate like(final Expression<String> x, final String pattern, final char escapeChar); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern); @Override Predicate notLike(final Expression<String> x, final String pattern); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern, final Expression<Character> escapeChar); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern, final char escapeChar); @Override Predicate notLike(final Expression<String> x, final String pattern, final Expression<Character> escapeChar); @Override Predicate notLike(final Expression<String> x, final String pattern, final char escapeChar); @Override Expression<String> concat(final Expression<String> x, final Expression<String> y); @Override Expression<String> concat(final Expression<String> x, final String y); @Override Expression<String> concat(final String x, final Expression<String> y); @Override Expression<String> substring(final Expression<String> x, final Expression<Integer> from); @Override Expression<String> substring(final Expression<String> x, final int from); @Override Expression<String> substring(final Expression<String> x, final Expression<Integer> from, final Expression<Integer> len); @Override Expression<String> substring(final Expression<String> x, final int from, final int len); @Override Expression<String> trim(final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final Expression<String> x); @Override Expression<String> trim(final Expression<Character> t, final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final Expression<Character> t, final Expression<String> x); @Override Expression<String> trim(final char t, final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final char t, final Expression<String> x); @Override Expression<Integer> length(final Expression<String> x); @Override Expression<Integer> locate(final Expression<String> x, final Expression<String> pattern); @Override Expression<Integer> locate(final Expression<String> x, final String pattern); @Override Expression<Integer> locate(final Expression<String> x, final Expression<String> pattern, final Expression<Integer> from); @Override Expression<Integer> locate(final Expression<String> x, final String pattern, final int from); @Override Expression<Date> currentDate(); @Override Expression<Timestamp> currentTimestamp(); @Override Expression<Time> currentTime(); @Override Coalesce<T> coalesce(); @Override Expression<Y> coalesce(final Expression<? extends Y> x, final Expression<? extends Y> y); @Override Expression<Y> coalesce(final Expression<? extends Y> x, final Y y); @Override Expression<Y> nullif(final Expression<Y> x, final Expression<?> y); @Override Expression<Y> nullif(final Expression<Y> x, final Y y); @Override SimpleCase<C, R> selectCase(final Expression<? extends C> expression); @Override Case<R> selectCase(); @Override Expression<T> function(final String name, final Class<T> type, final Expression<?>... args); @Override Join<X, V> treat(final Join<X, T> join, final Class<V> type); @Override CollectionJoin<X, E> treat(final CollectionJoin<X, T> join, final Class<E> type); @Override SetJoin<X, E> treat(final SetJoin<X, T> join, final Class<E> type); @Override ListJoin<X, E> treat(final ListJoin<X, T> join, final Class<E> type); @Override MapJoin<X, K, V> treat(final MapJoin<X, K, T> join, final Class<V> type); @Override Path<T> treat(final Path<X> path, final Class<T> type); @Override Root<T> treat(final Root<X> root, final Class<T> type); }
MinijaxCriteriaBuilder implements javax.persistence.criteria.CriteriaBuilder { @Override public Expression<Double> sqrt(final Expression<? extends Number> x) { throw new UnsupportedOperationException(); } MinijaxCriteriaBuilder(final MinijaxMetamodel metamodel); MinijaxMetamodel getMetamodel(); @Override MinijaxCriteriaQuery<T> createQuery(final Class<T> resultClass); @Override MinijaxCriteriaQuery<Object> createQuery(); @Override MinijaxCriteriaQuery<Tuple> createTupleQuery(); @Override MinijaxCompoundSelection<Tuple> tuple(final Selection<?>... selections); @Override @SuppressWarnings({ "rawtypes", "unchecked", "java:S1221" }) // Ignore Sonar warning about confusing "equal" method MinijaxComparison equal(final Expression<?> x, final Object y); @Override @SuppressWarnings({ "rawtypes", "unchecked", "java:S1221" }) // Ignore Sonar warning about confusing "equal" method MinijaxComparison equal(final Expression<?> x, final Expression<?> y); @Override @SuppressWarnings("unchecked") MinijaxIn<T> in(final Expression<? extends T> expression); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxComparison isNull(final Expression<?> x); @Override @SuppressWarnings({ "rawtypes", "unchecked" }) MinijaxComparison isNotNull(final Expression<?> x); @Override @SuppressWarnings("unchecked") MinijaxPredicate like(final Expression<String> x, final Expression<String> pattern); @Override MinijaxPredicate like(final Expression<String> x, final String pattern); @Override @SuppressWarnings({ "unchecked", "rawtypes" }) MinijaxFunctionExpression<String> lower(final Expression<String> x); @Override @SuppressWarnings({ "unchecked", "rawtypes" }) Expression<String> upper(final Expression<String> x); @Override MinijaxConjunction and(final Expression<Boolean> x, final Expression<Boolean> y); @Override MinijaxConjunction and(final Predicate... restrictions); @Override MinijaxConjunction or(final Expression<Boolean> x, final Expression<Boolean> y); @Override MinijaxConjunction or(final Predicate... restrictions); @Override MinijaxOrder asc(final Expression<?> x); @Override MinijaxOrder desc(final Expression<?> x); @Override CriteriaUpdate<T> createCriteriaUpdate(final Class<T> targetEntity); @Override CriteriaDelete<T> createCriteriaDelete(final Class<T> targetEntity); @Override CompoundSelection<Y> construct(final Class<Y> resultClass, final Selection<?>... selections); @Override CompoundSelection<Object[]> array(final Selection<?>... selections); @Override Expression<Double> avg(final Expression<N> x); @Override Expression<N> max(final Expression<N> x); @Override Expression<N> min(final Expression<N> x); @Override Expression<X> greatest(final Expression<X> x); @Override Expression<X> least(final Expression<X> x); @Override Expression<Long> count(final Expression<?> x); @Override Expression<Long> countDistinct(final Expression<?> x); @Override Predicate exists(final Subquery<?> subquery); @Override Expression<Y> all(final Subquery<Y> subquery); @Override Expression<Y> some(final Subquery<Y> subquery); @Override Expression<Y> any(final Subquery<Y> subquery); @Override Predicate not(final Expression<Boolean> restriction); @Override Predicate conjunction(); @Override Predicate disjunction(); @Override Predicate isTrue(final Expression<Boolean> x); @Override Predicate isFalse(final Expression<Boolean> x); @Override Predicate notEqual(final Expression<?> x, final Expression<?> y); @Override Predicate notEqual(final Expression<?> x, final Object y); @Override Predicate greaterThan(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate greaterThan(final Expression<? extends Y> x, final Y y); @Override Predicate greaterThanOrEqualTo(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate greaterThanOrEqualTo(final Expression<? extends Y> x, final Y y); @Override Predicate lessThan(final Expression<? extends Y> x, final Expression<? extends Y> y); @Override Predicate lessThan(final Expression<? extends Y> x, final Y y); @Override Predicate lessThanOrEqualTo(final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate lessThanOrEqualTo(final Expression<? extends Y> x, final Y y); @Override Predicate between(final Expression<? extends Y> v, final Expression<? extends Y> x,
            final Expression<? extends Y> y); @Override Predicate between(final Expression<? extends Y> v, final Y x, final Y y); @Override Predicate gt(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate gt(final Expression<? extends Number> x, final Number y); @Override Predicate ge(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate ge(final Expression<? extends Number> x, final Number y); @Override Predicate lt(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate lt(final Expression<? extends Number> x, final Number y); @Override Predicate le(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Predicate le(final Expression<? extends Number> x, final Number y); @Override Expression<N> neg(final Expression<N> x); @Override Expression<N> abs(final Expression<N> x); @Override Expression<N> sum(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> sum(final Expression<? extends N> x, final N y); @Override Expression<N> sum(final N x, final Expression<? extends N> y); @Override Expression<N> sum(final Expression<N> x); @Override Expression<Long> sumAsLong(final Expression<Integer> x); @Override Expression<Double> sumAsDouble(final Expression<Float> x); @Override Expression<N> prod(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> prod(final Expression<? extends N> x, final N y); @Override Expression<N> prod(final N x, final Expression<? extends N> y); @Override Expression<N> diff(final Expression<? extends N> x, final Expression<? extends N> y); @Override Expression<N> diff(final Expression<? extends N> x, final N y); @Override Expression<N> diff(final N x, final Expression<? extends N> y); @Override Expression<Number> quot(final Expression<? extends Number> x, final Expression<? extends Number> y); @Override Expression<Number> quot(final Expression<? extends Number> x, final Number y); @Override Expression<Number> quot(final Number x, final Expression<? extends Number> y); @Override Expression<Integer> mod(final Expression<Integer> x, final Expression<Integer> y); @Override Expression<Integer> mod(final Expression<Integer> x, final Integer y); @Override Expression<Integer> mod(final Integer x, final Expression<Integer> y); @Override Expression<Double> sqrt(final Expression<? extends Number> x); @Override Expression<Long> toLong(final Expression<? extends Number> number); @Override Expression<Integer> toInteger(final Expression<? extends Number> number); @Override Expression<Float> toFloat(final Expression<? extends Number> number); @Override Expression<Double> toDouble(final Expression<? extends Number> number); @Override Expression<BigDecimal> toBigDecimal(final Expression<? extends Number> number); @Override Expression<BigInteger> toBigInteger(final Expression<? extends Number> number); @Override Expression<String> toString(final Expression<Character> character); @Override Expression<T> literal(final T value); @Override Expression<T> nullLiteral(final Class<T> resultClass); @Override ParameterExpression<T> parameter(final Class<T> paramClass); @Override ParameterExpression<T> parameter(final Class<T> paramClass, final String name); @Override Predicate isEmpty(final Expression<C> collection); @Override Predicate isNotEmpty(final Expression<C> collection); @Override Expression<Integer> size(final Expression<C> collection); @Override Expression<Integer> size(final C collection); @Override Predicate isMember(final Expression<E> elem, final Expression<C> collection); @Override Predicate isMember(final E elem, final Expression<C> collection); @Override Predicate isNotMember(final Expression<E> elem, final Expression<C> collection); @Override Predicate isNotMember(final E elem, final Expression<C> collection); @Override Expression<Collection<V>> values(final M map); @Override Expression<Set<K>> keys(final M map); @Override Predicate like(final Expression<String> x, final Expression<String> pattern, final Expression<Character> escapeChar); @Override Predicate like(final Expression<String> x, final Expression<String> pattern, final char escapeChar); @Override Predicate like(final Expression<String> x, final String pattern, final Expression<Character> escapeChar); @Override Predicate like(final Expression<String> x, final String pattern, final char escapeChar); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern); @Override Predicate notLike(final Expression<String> x, final String pattern); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern, final Expression<Character> escapeChar); @Override Predicate notLike(final Expression<String> x, final Expression<String> pattern, final char escapeChar); @Override Predicate notLike(final Expression<String> x, final String pattern, final Expression<Character> escapeChar); @Override Predicate notLike(final Expression<String> x, final String pattern, final char escapeChar); @Override Expression<String> concat(final Expression<String> x, final Expression<String> y); @Override Expression<String> concat(final Expression<String> x, final String y); @Override Expression<String> concat(final String x, final Expression<String> y); @Override Expression<String> substring(final Expression<String> x, final Expression<Integer> from); @Override Expression<String> substring(final Expression<String> x, final int from); @Override Expression<String> substring(final Expression<String> x, final Expression<Integer> from, final Expression<Integer> len); @Override Expression<String> substring(final Expression<String> x, final int from, final int len); @Override Expression<String> trim(final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final Expression<String> x); @Override Expression<String> trim(final Expression<Character> t, final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final Expression<Character> t, final Expression<String> x); @Override Expression<String> trim(final char t, final Expression<String> x); @Override Expression<String> trim(final Trimspec ts, final char t, final Expression<String> x); @Override Expression<Integer> length(final Expression<String> x); @Override Expression<Integer> locate(final Expression<String> x, final Expression<String> pattern); @Override Expression<Integer> locate(final Expression<String> x, final String pattern); @Override Expression<Integer> locate(final Expression<String> x, final Expression<String> pattern, final Expression<Integer> from); @Override Expression<Integer> locate(final Expression<String> x, final String pattern, final int from); @Override Expression<Date> currentDate(); @Override Expression<Timestamp> currentTimestamp(); @Override Expression<Time> currentTime(); @Override Coalesce<T> coalesce(); @Override Expression<Y> coalesce(final Expression<? extends Y> x, final Expression<? extends Y> y); @Override Expression<Y> coalesce(final Expression<? extends Y> x, final Y y); @Override Expression<Y> nullif(final Expression<Y> x, final Expression<?> y); @Override Expression<Y> nullif(final Expression<Y> x, final Y y); @Override SimpleCase<C, R> selectCase(final Expression<? extends C> expression); @Override Case<R> selectCase(); @Override Expression<T> function(final String name, final Class<T> type, final Expression<?>... args); @Override Join<X, V> treat(final Join<X, T> join, final Class<V> type); @Override CollectionJoin<X, E> treat(final CollectionJoin<X, T> join, final Class<E> type); @Override SetJoin<X, E> treat(final SetJoin<X, T> join, final Class<E> type); @Override ListJoin<X, E> treat(final ListJoin<X, T> join, final Class<E> type); @Override MapJoin<X, K, V> treat(final MapJoin<X, K, T> join, final Class<V> type); @Override Path<T> treat(final Path<X> path, final Class<T> type); @Override Root<T> treat(final Root<X> root, final Class<T> type);  }