BrightSide Workbench Full Report + Source Code
org.turro.jpa.query.JpaCriteria Class Reference

Public Member Functions

 JpaCriteria (Dao dao)
 
CompoundSelection< Tuple > tuple (Selection<?>... selections)
 
CompoundSelection< Object[]> array (Selection<?>... selections)
 
Order asc (Expression<?> x)
 
Order desc (Expression<?> x)
 
Expression< Long > sumAsLong (Expression< Integer > x)
 
Expression< Double > sumAsDouble (Expression< Float > x)
 
Expression< Long > count (Expression<?> x)
 
Expression< Long > countDistinct (Expression<?> x)
 
Predicate exists (Subquery<?> subquery)
 
Predicate and (Expression< Boolean > x, Expression< Boolean > y)
 
Predicate and (Predicate... restrictions)
 
Predicate or (Expression< Boolean > x, Expression< Boolean > y)
 
Predicate or (Predicate... restrictions)
 
Predicate not (Expression< Boolean > restriction)
 
Predicate conjunction ()
 
Predicate disjunction ()
 
Predicate isTrue (Expression< Boolean > x)
 
Predicate isFalse (Expression< Boolean > x)
 
Predicate isNull (Expression<?> x)
 
Predicate isNotNull (Expression<?> x)
 
Predicate equal (Expression<?> x, Expression<?> y)
 
Predicate equal (Expression<?> x, Object y)
 
Predicate notEqual (Expression<?> x, Expression<?> y)
 
Predicate notEqual (Expression<?> x, Object y)
 
Predicate gt (Expression<? extends Number > x, Expression<? extends Number > y)
 
Predicate gt (Expression<? extends Number > x, Number y)
 
Predicate ge (Expression<? extends Number > x, Expression<? extends Number > y)
 
Predicate ge (Expression<? extends Number > x, Number y)
 
Predicate lt (Expression<? extends Number > x, Expression<? extends Number > y)
 
Predicate lt (Expression<? extends Number > x, Number y)
 
Predicate le (Expression<? extends Number > x, Expression<? extends Number > y)
 
Predicate le (Expression<? extends Number > x, Number y)
 
Expression< Number > quot (Expression<? extends Number > x, Expression<? extends Number > y)
 
Expression< Number > quot (Expression<? extends Number > x, Number y)
 
Expression< Number > quot (Number x, Expression<? extends Number > y)
 
Expression< Integer > mod (Expression< Integer > x, Expression< Integer > y)
 
Expression< Integer > mod (Expression< Integer > x, Integer y)
 
Expression< Integer > mod (Integer x, Expression< Integer > y)
 
Expression< Double > sqrt (Expression<? extends Number > x)
 
Expression< Long > toLong (Expression<? extends Number > number)
 
Expression< Integer > toInteger (Expression<? extends Number > number)
 
Expression< Float > toFloat (Expression<? extends Number > number)
 
Expression< Double > toDouble (Expression<? extends Number > number)
 
Expression< BigDecimal > toBigDecimal (Expression<? extends Number > number)
 
Expression< BigInteger > toBigInteger (Expression<? extends Number > number)
 
Expression< String > toString (Expression< Character > character)
 
Predicate like (Expression< String > x, Expression< String > pattern)
 
Predicate like (Expression< String > x, String pattern)
 
Predicate like (Expression< String > x, Expression< String > pattern, Expression< Character > escapeChar)
 
Predicate like (Expression< String > x, Expression< String > pattern, char escapeChar)
 
Predicate like (Expression< String > x, String pattern, Expression< Character > escapeChar)
 
Predicate like (Expression< String > x, String pattern, char escapeChar)
 
Predicate notLike (Expression< String > x, Expression< String > pattern)
 
Predicate notLike (Expression< String > x, String pattern)
 
Predicate notLike (Expression< String > x, Expression< String > pattern, Expression< Character > escapeChar)
 
Predicate notLike (Expression< String > x, Expression< String > pattern, char escapeChar)
 
Predicate notLike (Expression< String > x, String pattern, Expression< Character > escapeChar)
 
Predicate notLike (Expression< String > x, String pattern, char escapeChar)
 
Expression< String > concat (Expression< String > x, Expression< String > y)
 
Expression< String > concat (Expression< String > x, String y)
 
Expression< String > concat (String x, Expression< String > y)
 
Expression< String > substring (Expression< String > x, Expression< Integer > from)
 
Expression< String > substring (Expression< String > x, int from)
 
Expression< String > substring (Expression< String > x, Expression< Integer > from, Expression< Integer > len)
 
Expression< String > substring (Expression< String > x, int from, int len)
 
Expression< String > trim (Expression< String > x)
 
Expression< String > trim (CriteriaBuilder.Trimspec ts, Expression< String > x)
 
Expression< String > trim (Expression< Character > t, Expression< String > x)
 
Expression< String > trim (CriteriaBuilder.Trimspec ts, Expression< Character > t, Expression< String > x)
 
Expression< String > trim (char t, Expression< String > x)
 
Expression< String > trim (CriteriaBuilder.Trimspec ts, char t, Expression< String > x)
 
Expression< String > lower (Expression< String > x)
 
Expression< String > upper (Expression< String > x)
 
Expression< Integer > length (Expression< String > x)
 
Expression< Integer > locate (Expression< String > x, Expression< String > pattern)
 
Expression< Integer > locate (Expression< String > x, String pattern)
 
Expression< Integer > locate (Expression< String > x, Expression< String > pattern, Expression< Integer > from)
 
Expression< Integer > locate (Expression< String > x, String pattern, int from)
 
Expression< Date > currentDate ()
 
Expression< Timestamp > currentTimestamp ()
 
Expression< Time > currentTime ()
 

Protected Member Functions

CriteriaBuilder builder ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 52 of file JpaCriteria.java.

Constructor & Destructor Documentation

◆ JpaCriteria()

org.turro.jpa.query.JpaCriteria.JpaCriteria ( Dao  dao)

Definition at line 57 of file JpaCriteria.java.

57  {
58  this.dao = dao;
59  initCriteria();
60  }

Member Function Documentation

◆ and() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.and ( Expression< Boolean >  x,
Expression< Boolean >  y 
)

Definition at line 162 of file JpaCriteria.java.

162  {
163  return criteriaBuilder.and(x, y);
164  }

◆ and() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.and ( Predicate...  restrictions)

Definition at line 166 of file JpaCriteria.java.

166  {
167  return criteriaBuilder.and(restrictions);
168  }

◆ array()

CompoundSelection<Object[]> org.turro.jpa.query.JpaCriteria.array ( Selection<?>...  selections)

Definition at line 94 of file JpaCriteria.java.

94  {
95  return criteriaBuilder.array(selections);
96  }

◆ asc()

Order org.turro.jpa.query.JpaCriteria.asc ( Expression<?>  x)

Definition at line 98 of file JpaCriteria.java.

98  {
99  return criteriaBuilder.asc(x);
100  }

◆ builder()

CriteriaBuilder org.turro.jpa.query.JpaCriteria.builder ( )
protected

Definition at line 66 of file JpaCriteria.java.

66  {
67  return criteriaBuilder;
68  }

◆ concat() [1/3]

Expression<String> org.turro.jpa.query.JpaCriteria.concat ( Expression< String >  x,
Expression< String >  y 
)

Definition at line 498 of file JpaCriteria.java.

498  {
499  return criteriaBuilder.concat(x, y);
500  }

◆ concat() [2/3]

Expression<String> org.turro.jpa.query.JpaCriteria.concat ( Expression< String >  x,
String  y 
)

Definition at line 502 of file JpaCriteria.java.

502  {
503  return criteriaBuilder.concat(x, y);
504  }

◆ concat() [3/3]

Expression<String> org.turro.jpa.query.JpaCriteria.concat ( String  x,
Expression< String >  y 
)

Definition at line 506 of file JpaCriteria.java.

506  {
507  return criteriaBuilder.concat(x, y);
508  }

◆ conjunction()

Predicate org.turro.jpa.query.JpaCriteria.conjunction ( )

Definition at line 182 of file JpaCriteria.java.

182  {
183  return criteriaBuilder.conjunction();
184  }

◆ count()

Expression<Long> org.turro.jpa.query.JpaCriteria.count ( Expression<?>  x)

Definition at line 138 of file JpaCriteria.java.

138  {
139  return criteriaBuilder.count(x);
140  }

◆ countDistinct()

Expression<Long> org.turro.jpa.query.JpaCriteria.countDistinct ( Expression<?>  x)

Definition at line 142 of file JpaCriteria.java.

142  {
143  return criteriaBuilder.countDistinct(x);
144  }

◆ currentDate()

Expression<Date> org.turro.jpa.query.JpaCriteria.currentDate ( )

Definition at line 578 of file JpaCriteria.java.

578  {
579  return criteriaBuilder.currentDate();
580  }

◆ currentTime()

Expression<Time> org.turro.jpa.query.JpaCriteria.currentTime ( )

Definition at line 586 of file JpaCriteria.java.

586  {
587  return criteriaBuilder.currentTime();
588  }

◆ currentTimestamp()

Expression<Timestamp> org.turro.jpa.query.JpaCriteria.currentTimestamp ( )

Definition at line 582 of file JpaCriteria.java.

582  {
583  return criteriaBuilder.currentTimestamp();
584  }

◆ desc()

Order org.turro.jpa.query.JpaCriteria.desc ( Expression<?>  x)

Definition at line 102 of file JpaCriteria.java.

102  {
103  return criteriaBuilder.desc(x);
104  }

◆ disjunction()

Predicate org.turro.jpa.query.JpaCriteria.disjunction ( )

Definition at line 186 of file JpaCriteria.java.

186  {
187  return criteriaBuilder.disjunction();
188  }

◆ equal() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.equal ( Expression<?>  x,
Expression<?>  y 
)

Definition at line 206 of file JpaCriteria.java.

206  {
207  return criteriaBuilder.equal(x, y);
208  }
Here is the caller graph for this function:

◆ equal() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.equal ( Expression<?>  x,
Object  y 
)

Definition at line 210 of file JpaCriteria.java.

210  {
211  return criteriaBuilder.equal(x, y);
212  }

◆ exists()

Predicate org.turro.jpa.query.JpaCriteria.exists ( Subquery<?>  subquery)

Definition at line 146 of file JpaCriteria.java.

146  {
147  return criteriaBuilder.exists(subquery);
148  }

◆ ge() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.ge ( Expression<? extends Number >  x,
Expression<? extends Number >  y 
)

Definition at line 270 of file JpaCriteria.java.

270  {
271  return criteriaBuilder.ge(x, y);
272  }

◆ ge() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.ge ( Expression<? extends Number >  x,
Number  y 
)

Definition at line 274 of file JpaCriteria.java.

274  {
275  return criteriaBuilder.ge(x, y);
276  }

◆ gt() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.gt ( Expression<? extends Number >  x,
Expression<? extends Number >  y 
)

Definition at line 262 of file JpaCriteria.java.

262  {
263  return criteriaBuilder.gt(x, y);
264  }

◆ gt() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.gt ( Expression<? extends Number >  x,
Number  y 
)

Definition at line 266 of file JpaCriteria.java.

266  {
267  return criteriaBuilder.gt(x, y);
268  }

◆ isFalse()

Predicate org.turro.jpa.query.JpaCriteria.isFalse ( Expression< Boolean >  x)

Definition at line 194 of file JpaCriteria.java.

194  {
195  return criteriaBuilder.isFalse(x);
196  }

◆ isNotNull()

Predicate org.turro.jpa.query.JpaCriteria.isNotNull ( Expression<?>  x)

Definition at line 202 of file JpaCriteria.java.

202  {
203  return criteriaBuilder.isNotNull(x);
204  }

◆ isNull()

Predicate org.turro.jpa.query.JpaCriteria.isNull ( Expression<?>  x)

Definition at line 198 of file JpaCriteria.java.

198  {
199  return criteriaBuilder.isNull(x);
200  }

◆ isTrue()

Predicate org.turro.jpa.query.JpaCriteria.isTrue ( Expression< Boolean >  x)

Definition at line 190 of file JpaCriteria.java.

190  {
191  return criteriaBuilder.isTrue(x);
192  }

◆ le() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.le ( Expression<? extends Number >  x,
Expression<? extends Number >  y 
)

Definition at line 286 of file JpaCriteria.java.

286  {
287  return criteriaBuilder.le(x, y);
288  }

◆ le() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.le ( Expression<? extends Number >  x,
Number  y 
)

Definition at line 290 of file JpaCriteria.java.

290  {
291  return criteriaBuilder.le(x, y);
292  }

◆ length()

Expression<Integer> org.turro.jpa.query.JpaCriteria.length ( Expression< String >  x)

Definition at line 558 of file JpaCriteria.java.

558  {
559  return criteriaBuilder.length(x);
560  }

◆ like() [1/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
Expression< String >  pattern 
)

Definition at line 450 of file JpaCriteria.java.

450  {
451  return criteriaBuilder.like(x, pattern);
452  }

◆ like() [2/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
Expression< String >  pattern,
char  escapeChar 
)

Definition at line 462 of file JpaCriteria.java.

462  {
463  return criteriaBuilder.like(x, pattern, escapeChar);
464  }

◆ like() [3/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
Expression< String >  pattern,
Expression< Character >  escapeChar 
)

Definition at line 458 of file JpaCriteria.java.

458  {
459  return criteriaBuilder.like(x, pattern, escapeChar);
460  }

◆ like() [4/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
String  pattern 
)

Definition at line 454 of file JpaCriteria.java.

454  {
455  return criteriaBuilder.like(x, pattern);
456  }

◆ like() [5/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
String  pattern,
char  escapeChar 
)

Definition at line 470 of file JpaCriteria.java.

470  {
471  return criteriaBuilder.like(x, pattern, escapeChar);
472  }

◆ like() [6/6]

Predicate org.turro.jpa.query.JpaCriteria.like ( Expression< String >  x,
String  pattern,
Expression< Character >  escapeChar 
)

Definition at line 466 of file JpaCriteria.java.

466  {
467  return criteriaBuilder.like(x, pattern, escapeChar);
468  }

◆ locate() [1/4]

Expression<Integer> org.turro.jpa.query.JpaCriteria.locate ( Expression< String >  x,
Expression< String >  pattern 
)

Definition at line 562 of file JpaCriteria.java.

562  {
563  return criteriaBuilder.locate(x, pattern);
564  }

◆ locate() [2/4]

Expression<Integer> org.turro.jpa.query.JpaCriteria.locate ( Expression< String >  x,
Expression< String >  pattern,
Expression< Integer >  from 
)

Definition at line 570 of file JpaCriteria.java.

570  {
571  return criteriaBuilder.locate(x, pattern, from);
572  }

◆ locate() [3/4]

Expression<Integer> org.turro.jpa.query.JpaCriteria.locate ( Expression< String >  x,
String  pattern 
)

Definition at line 566 of file JpaCriteria.java.

566  {
567  return criteriaBuilder.locate(x, pattern);
568  }

◆ locate() [4/4]

Expression<Integer> org.turro.jpa.query.JpaCriteria.locate ( Expression< String >  x,
String  pattern,
int  from 
)

Definition at line 574 of file JpaCriteria.java.

574  {
575  return criteriaBuilder.locate(x, pattern, from);
576  }

◆ lower()

Expression<String> org.turro.jpa.query.JpaCriteria.lower ( Expression< String >  x)

Definition at line 550 of file JpaCriteria.java.

550  {
551  return criteriaBuilder.lower(x);
552  }

◆ lt() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.lt ( Expression<? extends Number >  x,
Expression<? extends Number >  y 
)

Definition at line 278 of file JpaCriteria.java.

278  {
279  return criteriaBuilder.lt(x, y);
280  }

◆ lt() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.lt ( Expression<? extends Number >  x,
Number  y 
)

Definition at line 282 of file JpaCriteria.java.

282  {
283  return criteriaBuilder.lt(x, y);
284  }

◆ mod() [1/3]

Expression<Integer> org.turro.jpa.query.JpaCriteria.mod ( Expression< Integer >  x,
Expression< Integer >  y 
)

Definition at line 350 of file JpaCriteria.java.

350  {
351  return criteriaBuilder.mod(x, y);
352  }

◆ mod() [2/3]

Expression<Integer> org.turro.jpa.query.JpaCriteria.mod ( Expression< Integer >  x,
Integer  y 
)

Definition at line 354 of file JpaCriteria.java.

354  {
355  return criteriaBuilder.mod(x, y);
356  }

◆ mod() [3/3]

Expression<Integer> org.turro.jpa.query.JpaCriteria.mod ( Integer  x,
Expression< Integer >  y 
)

Definition at line 358 of file JpaCriteria.java.

358  {
359  return criteriaBuilder.mod(x, y);
360  }

◆ not()

Predicate org.turro.jpa.query.JpaCriteria.not ( Expression< Boolean >  restriction)

Definition at line 178 of file JpaCriteria.java.

178  {
179  return criteriaBuilder.not(restriction);
180  }

◆ notEqual() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.notEqual ( Expression<?>  x,
Expression<?>  y 
)

Definition at line 214 of file JpaCriteria.java.

214  {
215  return criteriaBuilder.notEqual(x, y);
216  }

◆ notEqual() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.notEqual ( Expression<?>  x,
Object  y 
)

Definition at line 218 of file JpaCriteria.java.

218  {
219  return criteriaBuilder.notEqual(x, y);
220  }

◆ notLike() [1/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
Expression< String >  pattern 
)

Definition at line 474 of file JpaCriteria.java.

474  {
475  return criteriaBuilder.notLike(x, pattern);
476  }

◆ notLike() [2/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
Expression< String >  pattern,
char  escapeChar 
)

Definition at line 486 of file JpaCriteria.java.

486  {
487  return criteriaBuilder.notLike(x, pattern, escapeChar);
488  }

◆ notLike() [3/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
Expression< String >  pattern,
Expression< Character >  escapeChar 
)

Definition at line 482 of file JpaCriteria.java.

482  {
483  return criteriaBuilder.notLike(x, pattern, escapeChar);
484  }

◆ notLike() [4/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
String  pattern 
)

Definition at line 478 of file JpaCriteria.java.

478  {
479  return criteriaBuilder.notLike(x, pattern);
480  }

◆ notLike() [5/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
String  pattern,
char  escapeChar 
)

Definition at line 494 of file JpaCriteria.java.

494  {
495  return criteriaBuilder.notLike(x, pattern, escapeChar);
496  }

◆ notLike() [6/6]

Predicate org.turro.jpa.query.JpaCriteria.notLike ( Expression< String >  x,
String  pattern,
Expression< Character >  escapeChar 
)

Definition at line 490 of file JpaCriteria.java.

490  {
491  return criteriaBuilder.notLike(x, pattern, escapeChar);
492  }

◆ or() [1/2]

Predicate org.turro.jpa.query.JpaCriteria.or ( Expression< Boolean >  x,
Expression< Boolean >  y 
)

Definition at line 170 of file JpaCriteria.java.

170  {
171  return criteriaBuilder.or(x, y);
172  }

◆ or() [2/2]

Predicate org.turro.jpa.query.JpaCriteria.or ( Predicate...  restrictions)

Definition at line 174 of file JpaCriteria.java.

174  {
175  return criteriaBuilder.or(restrictions);
176  }

◆ quot() [1/3]

Expression<Number> org.turro.jpa.query.JpaCriteria.quot ( Expression<? extends Number >  x,
Expression<? extends Number >  y 
)

Definition at line 338 of file JpaCriteria.java.

338  {
339  return criteriaBuilder.quot(x, y);
340  }

◆ quot() [2/3]

Expression<Number> org.turro.jpa.query.JpaCriteria.quot ( Expression<? extends Number >  x,
Number  y 
)

Definition at line 342 of file JpaCriteria.java.

342  {
343  return criteriaBuilder.quot(x, y);
344  }

◆ quot() [3/3]

Expression<Number> org.turro.jpa.query.JpaCriteria.quot ( Number  x,
Expression<? extends Number >  y 
)

Definition at line 346 of file JpaCriteria.java.

346  {
347  return criteriaBuilder.quot(x, y);
348  }

◆ sqrt()

Expression<Double> org.turro.jpa.query.JpaCriteria.sqrt ( Expression<? extends Number >  x)

Definition at line 362 of file JpaCriteria.java.

362  {
363  return criteriaBuilder.sqrt(x);
364  }

◆ substring() [1/4]

Expression<String> org.turro.jpa.query.JpaCriteria.substring ( Expression< String >  x,
Expression< Integer >  from 
)

Definition at line 510 of file JpaCriteria.java.

510  {
511  return criteriaBuilder.substring(x, from);
512  }

◆ substring() [2/4]

Expression<String> org.turro.jpa.query.JpaCriteria.substring ( Expression< String >  x,
Expression< Integer >  from,
Expression< Integer >  len 
)

Definition at line 518 of file JpaCriteria.java.

518  {
519  return criteriaBuilder.substring(x, from, len);
520  }

◆ substring() [3/4]

Expression<String> org.turro.jpa.query.JpaCriteria.substring ( Expression< String >  x,
int  from 
)

Definition at line 514 of file JpaCriteria.java.

514  {
515  return criteriaBuilder.substring(x, from);
516  }

◆ substring() [4/4]

Expression<String> org.turro.jpa.query.JpaCriteria.substring ( Expression< String >  x,
int  from,
int  len 
)

Definition at line 522 of file JpaCriteria.java.

522  {
523  return criteriaBuilder.substring(x, from, len);
524  }

◆ sumAsDouble()

Expression<Double> org.turro.jpa.query.JpaCriteria.sumAsDouble ( Expression< Float >  x)

Definition at line 118 of file JpaCriteria.java.

118  {
119  return criteriaBuilder.sumAsDouble(x);
120  }

◆ sumAsLong()

Expression<Long> org.turro.jpa.query.JpaCriteria.sumAsLong ( Expression< Integer >  x)

Definition at line 114 of file JpaCriteria.java.

114  {
115  return criteriaBuilder.sumAsLong(x);
116  }

◆ toBigDecimal()

Expression<BigDecimal> org.turro.jpa.query.JpaCriteria.toBigDecimal ( Expression<? extends Number >  number)

Definition at line 382 of file JpaCriteria.java.

382  {
383  return criteriaBuilder.toBigDecimal(number);
384  }

◆ toBigInteger()

Expression<BigInteger> org.turro.jpa.query.JpaCriteria.toBigInteger ( Expression<? extends Number >  number)

Definition at line 386 of file JpaCriteria.java.

386  {
387  return criteriaBuilder.toBigInteger(number);
388  }

◆ toDouble()

Expression<Double> org.turro.jpa.query.JpaCriteria.toDouble ( Expression<? extends Number >  number)

Definition at line 378 of file JpaCriteria.java.

378  {
379  return criteriaBuilder.toDouble(number);
380  }

◆ toFloat()

Expression<Float> org.turro.jpa.query.JpaCriteria.toFloat ( Expression<? extends Number >  number)

Definition at line 374 of file JpaCriteria.java.

374  {
375  return criteriaBuilder.toFloat(number);
376  }

◆ toInteger()

Expression<Integer> org.turro.jpa.query.JpaCriteria.toInteger ( Expression<? extends Number >  number)

Definition at line 370 of file JpaCriteria.java.

370  {
371  return criteriaBuilder.toInteger(number);
372  }

◆ toLong()

Expression<Long> org.turro.jpa.query.JpaCriteria.toLong ( Expression<? extends Number >  number)

Definition at line 366 of file JpaCriteria.java.

366  {
367  return criteriaBuilder.toLong(number);
368  }

◆ toString()

Expression<String> org.turro.jpa.query.JpaCriteria.toString ( Expression< Character >  character)

Definition at line 390 of file JpaCriteria.java.

390  {
391  return criteriaBuilder.toString(character);
392  }

◆ trim() [1/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( char  t,
Expression< String >  x 
)

Definition at line 542 of file JpaCriteria.java.

542  {
543  return criteriaBuilder.trim(t, x);
544  }

◆ trim() [2/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( CriteriaBuilder.Trimspec  ts,
char  t,
Expression< String >  x 
)

Definition at line 546 of file JpaCriteria.java.

546  {
547  return criteriaBuilder.trim(ts, t, x);
548  }

◆ trim() [3/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( CriteriaBuilder.Trimspec  ts,
Expression< Character >  t,
Expression< String >  x 
)

Definition at line 538 of file JpaCriteria.java.

538  {
539  return criteriaBuilder.trim(ts, t, x);
540  }

◆ trim() [4/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( CriteriaBuilder.Trimspec  ts,
Expression< String >  x 
)

Definition at line 530 of file JpaCriteria.java.

530  {
531  return criteriaBuilder.trim(ts, x);
532  }

◆ trim() [5/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( Expression< Character >  t,
Expression< String >  x 
)

Definition at line 534 of file JpaCriteria.java.

534  {
535  return criteriaBuilder.trim(t, x);
536  }

◆ trim() [6/6]

Expression<String> org.turro.jpa.query.JpaCriteria.trim ( Expression< String >  x)

Definition at line 526 of file JpaCriteria.java.

526  {
527  return criteriaBuilder.trim(x);
528  }

◆ tuple()

CompoundSelection<Tuple> org.turro.jpa.query.JpaCriteria.tuple ( Selection<?>...  selections)

Definition at line 90 of file JpaCriteria.java.

90  {
91  return criteriaBuilder.tuple(selections);
92  }

◆ upper()

Expression<String> org.turro.jpa.query.JpaCriteria.upper ( Expression< String >  x)

Definition at line 554 of file JpaCriteria.java.

554  {
555  return criteriaBuilder.upper(x);
556  }

The documentation for this class was generated from the following file: