| Package | Description |
|---|---|
| springdao.support |
| Modifier and Type | Method and Description |
|---|---|
JpqlHelper |
JpqlHelper.$(String s)
add String.
|
JpqlHelper |
JpqlHelper.abs()
append a string
ABS.
|
JpqlHelper |
JpqlHelper.abs(String field)
append a string
ABS(field).
|
JpqlHelper |
JpqlHelper.all()
append a string
ALL.
|
JpqlHelper |
JpqlHelper.all(String subquery)
append a string
ALL(subquery).
|
JpqlHelper |
JpqlHelper.and()
append a string AND.
|
JpqlHelper |
JpqlHelper.any()
append a string
ANY.
|
JpqlHelper |
JpqlHelper.any(String subquery)
append a string
ANY(subquery).
|
JpqlHelper |
JpqlHelper.as(String field)
append a string
AS field.
|
JpqlHelper |
JpqlHelper.asc()
append a string
ASC.
|
JpqlHelper |
JpqlHelper.avg()
append a string AVG.
|
JpqlHelper |
JpqlHelper.avg(String field)
append a string
AVG(field).
|
JpqlHelper |
JpqlHelper.between()
append a string BETWEEN.
|
JpqlHelper |
JpqlHelper.between(String from,
String to)
append a string
BETWEEN from AND to.
|
JpqlHelper |
JpqlHelper.c$()
append a comma ",".
|
JpqlHelper |
JpqlHelper.c$(String s)
append string prefix a comma ",".
|
JpqlHelper |
JpqlHelper.cAbs()
append a string
,ABS.
|
JpqlHelper |
JpqlHelper.cAbs(String field)
append a string
,ABS(field).
|
JpqlHelper |
JpqlHelper.Case()
append a string
CASE.
|
JpqlHelper |
JpqlHelper.Case(String field)
append a string
CASE field.
|
JpqlHelper |
JpqlHelper.cast(String field,
String typeValue)
EclipseLink support:
append a string CAST(field , typeValue). |
JpqlHelper |
JpqlHelper.cAvg()
append a string ,AVG.
|
JpqlHelper |
JpqlHelper.cAvg(String field)
append a string
,AVG(field).
|
JpqlHelper |
JpqlHelper.cCase()
append a string
,CASE.
|
JpqlHelper |
JpqlHelper.cCase(String field)
append a string
,CASE field.
|
JpqlHelper |
JpqlHelper.cCoalesce(String field,
String defaultValue)
append a string
,COALESCE(field , defaultValue).
|
JpqlHelper |
JpqlHelper.cConcat(String first,
String second)
append a string
,CONCAT(first ,
second).
|
JpqlHelper |
JpqlHelper.cCount()
append a string
,COUNT.
|
JpqlHelper |
JpqlHelper.cCount(String field)
append a string
,COUNT(field).
|
JpqlHelper |
JpqlHelper.cCountDistinct(String field)
append a string
,COUNT(DISTINCT field).
|
JpqlHelper |
JpqlHelper.cCurrDate()
append a string
,CURRENT_DATE.
|
JpqlHelper |
JpqlHelper.cCurrTime()
append a string
,CURRENT_TIME.
|
JpqlHelper |
JpqlHelper.cCurrTimeStamp()
append a string
,CURRENT_TIMESTAMP.
|
JpqlHelper |
JpqlHelper.cExtract(String dt,
String field)
EclipseLink support:
append a string ,EXTRACT(dt , field). |
JpqlHelper |
JpqlHelper.cLength()
append a string
,LENGTH.
|
JpqlHelper |
JpqlHelper.cLength(String field)
append a string
,LENGTH(field).
|
JpqlHelper |
JpqlHelper.cLocate(String substr,
String field)
append a string
,LOCATE(substr , field).
|
JpqlHelper |
JpqlHelper.cLower()
append a string
,LOWER.
|
JpqlHelper |
JpqlHelper.cLower(String field)
append a string
,LOWER(field).
|
JpqlHelper |
JpqlHelper.cMax()
append a string ,MAX.
|
JpqlHelper |
JpqlHelper.cMax(String field)
append a string
,MAX(field).
|
JpqlHelper |
JpqlHelper.cMin()
append a string ,MIN.
|
JpqlHelper |
JpqlHelper.cMin(String field)
append a string
,MIN(field).
|
JpqlHelper |
JpqlHelper.cMod(String number,
String divisor)
append a string
,MOD(number,divisor).
|
JpqlHelper |
JpqlHelper.cNullif(String field,
String defaultValue)
append a string
,NULLIF(field , defaultValue).
|
JpqlHelper |
JpqlHelper.coalesce(String field,
String defaultValue)
append a string
COALESCE(field , defaultValue).
|
JpqlHelper |
JpqlHelper.column(String field,
String entityOrAlias)
EclipseLink support:
append a string COLUMN('field, entityOrAlias). |
JpqlHelper |
JpqlHelper.concat(String first,
String second)
append a string
CONCAT(first ,
second).
|
JpqlHelper |
JpqlHelper.count()
append a string
COUNT.
|
JpqlHelper |
JpqlHelper.count(String field)
append a string
COUNT(field).
|
JpqlHelper |
JpqlHelper.countDistinct(String field)
append a string
COUNT(DISTINCT field).
|
JpqlHelper |
JpqlHelper.cSqrt()
append a string ,SQRT.
|
JpqlHelper |
JpqlHelper.cSqrt(String field)
append a string
,SQRT(field).
|
JpqlHelper |
JpqlHelper.cSubstring(String field,
int start,
int end)
append a string
,SUBSTRING(field ,
start , end).
|
JpqlHelper |
JpqlHelper.cSum()
append a string ,SUM.
|
JpqlHelper |
JpqlHelper.cSum(String field)
append a string
,SUM(field).
|
JpqlHelper |
JpqlHelper.cTrim()
append a string
,TRIM.
|
JpqlHelper |
JpqlHelper.cTrim(String field)
append a string
,TRIM(field).
|
JpqlHelper |
JpqlHelper.cUpper()
append a string
,UPPER.
|
JpqlHelper |
JpqlHelper.cUpper(String field)
append a string
,UPPER(field).
|
JpqlHelper |
JpqlHelper.currDate()
append a string
CURRENT_DATE.
|
JpqlHelper |
JpqlHelper.currTime()
append a string
CURRENT_TIME.
|
JpqlHelper |
JpqlHelper.currTimeStamp()
append a string
CURRENT_TIMESTAMP.
|
JpqlHelper |
JpqlHelper.delete()
append a string DELETE.
|
JpqlHelper |
JpqlHelper.delete(String entity)
append a string
DELETE entity.
|
JpqlHelper |
JpqlHelper.desc()
append a string
DESC.
|
JpqlHelper |
JpqlHelper.distinct()
append a string DISTINCT.
|
JpqlHelper |
JpqlHelper.distinct(String fields)
append a string
DISTINCT fields.
|
JpqlHelper |
JpqlHelper.Else(String result)
append a string
ELSE result.
|
JpqlHelper |
JpqlHelper.elseEnd(String result)
append a string
ELSE result END.
|
JpqlHelper |
JpqlHelper.end()
append a string
END.
|
JpqlHelper |
JpqlHelper.eq()
append a string
=.
|
JpqlHelper |
JpqlHelper.eq(String right)
append a string
=right.
|
JpqlHelper |
JpqlHelper.eq(String left,
String right)
append a string
left=right.
|
JpqlHelper |
JpqlHelper.except()
append a string EXCEPT.
|
JpqlHelper |
JpqlHelper.exists()
append a string
EXISTS.
|
JpqlHelper |
JpqlHelper.extract(String dt,
String field)
EclipseLink support:
append a string EXTRACT(dt , field). |
JpqlHelper |
JpqlHelper.False()
append a string FALSE.
|
JpqlHelper |
JpqlHelper.fetch()
append a string FETCH.
|
JpqlHelper |
JpqlHelper.fetch(String field)
append a string
FETCH field.
|
JpqlHelper |
JpqlHelper.from()
append a string FROM.
|
JpqlHelper |
JpqlHelper.from(String entity)
append a string
FROM entity.
|
JpqlHelper |
JpqlHelper.function(String name,
String... values)
append " FUNCTION(
name, [value1,
[field2]]".
|
static JpqlHelper |
JpqlHelper.get()
Factory method to get a instance of JpqlHelper.
|
JpqlHelper |
JpqlHelper.groupBy()
append a string GROUP BY.
|
JpqlHelper |
JpqlHelper.groupBy(String fields)
append a string GROUP
BY fields.
|
JpqlHelper |
JpqlHelper.having()
append a string HAVING.
|
JpqlHelper |
JpqlHelper.having(String criteria)
append a string
HAVING criteria.
|
JpqlHelper |
JpqlHelper.in()
append a string IN.
|
JpqlHelper |
JpqlHelper.in(String fields)
append a string
IN (fields).
|
JpqlHelper |
JpqlHelper.innerJoin()
append a string INNER JOIN.
|
JpqlHelper |
JpqlHelper.innerJoin(String other)
append a string INNER
JOIN other.
|
JpqlHelper |
JpqlHelper.intersect()
append a string INTERSECT.
|
JpqlHelper |
JpqlHelper.isEmpty()
append a string IS EMPTY.
|
JpqlHelper |
JpqlHelper.isNotEmpty()
append a string
IS NOT EMPTY.
|
JpqlHelper |
JpqlHelper.isNotNull()
append a string
IS NOT NULL.
|
JpqlHelper |
JpqlHelper.isNull()
append a string IS NULL.
|
JpqlHelper |
JpqlHelper.join()
append a string JOIN.
|
JpqlHelper |
JpqlHelper.join(String other)
append a string
JOIN other.
|
JpqlHelper |
JpqlHelper.leftJoin()
append a string LEFT OUTER JOIN.
|
JpqlHelper |
JpqlHelper.leftJoin(String other)
append a string LEFT OUTER
JOIN other.
|
JpqlHelper |
JpqlHelper.length()
append a string
LENGTH.
|
JpqlHelper |
JpqlHelper.length(String field)
append a string
LENGTH(field).
|
JpqlHelper |
JpqlHelper.like()
append a string LIKE.
|
JpqlHelper |
JpqlHelper.like(String left,
String right)
append a string
left LIKE right.
|
JpqlHelper |
JpqlHelper.locate(String substr,
String field)
append a string
LOCATE(substr , field).
|
JpqlHelper |
JpqlHelper.lower()
append a string
LOWER.
|
JpqlHelper |
JpqlHelper.lower(String field)
append a string
LOWER(field).
|
JpqlHelper |
JpqlHelper.lp$()
add left parentheses " (;.
|
JpqlHelper |
JpqlHelper.max()
append a string MAX.
|
JpqlHelper |
JpqlHelper.max(String field)
append a string
MAX(field).
|
JpqlHelper |
JpqlHelper.memberOf()
append a string MEMBER OF.
|
JpqlHelper |
JpqlHelper.memberOf(String left,
String right)
append a string
left MEMBER OF right.
|
JpqlHelper |
JpqlHelper.min()
append a string MIN.
|
JpqlHelper |
JpqlHelper.min(String field)
append a string
MIN(field).
|
JpqlHelper |
JpqlHelper.mod(String number,
String divisor)
append a string
MOD(number,divisor).
|
JpqlHelper |
JpqlHelper.New()
append a string NEW.
|
JpqlHelper |
JpqlHelper.New(String entityName,
String... fields)
append " NEW
entityName(field1
[,field2]) ".
|
JpqlHelper |
JpqlHelper.not()
append a string NOT.
|
JpqlHelper |
JpqlHelper.notExists()
append a string
NOT EXISTS.
|
JpqlHelper |
JpqlHelper.nullif(String field,
String defaultValue)
append a string
NULLIF(field , defaultValue).
|
JpqlHelper |
JpqlHelper.nullsFirst()
append a string
NULLS FIRST.
|
JpqlHelper |
JpqlHelper.on()
append a string ON.
|
JpqlHelper |
JpqlHelper.operator(String name,
String... values)
EclipseLink support:
OPERATOR is similar to function(). |
JpqlHelper |
JpqlHelper.or()
append a string OR.
|
JpqlHelper |
JpqlHelper.orderBy()
append a string
ORDER BY.
|
JpqlHelper |
JpqlHelper.orderBy(String fields)
append a string
ORDER BY fields.
|
JpqlHelper |
JpqlHelper.ps$(String s)
add "(..string..)
|
JpqlHelper |
JpqlHelper.q$(String s)
Quote string within two single quote 'string'.
|
JpqlHelper |
JpqlHelper.regexp()
EclipseLink support:
append a string REGEXP. |
JpqlHelper |
JpqlHelper.regexp(String field,
String regexpr)
append a string
field REGEXP regexpr.
|
JpqlHelper |
JpqlHelper.rp$()
add right parentheses ")".
|
JpqlHelper |
JpqlHelper.select()
append a string SELECT.
|
JpqlHelper |
JpqlHelper.select(String fields)
append a string
SELECT fields.
|
JpqlHelper |
JpqlHelper.selectDistinct()
append a string SELECT DISTINCT.
|
JpqlHelper |
JpqlHelper.selectDistinct(String fields)
append a string SELECT
DISTINCT fields.
|
JpqlHelper |
JpqlHelper.set()
append a string
SET.
|
JpqlHelper |
JpqlHelper.set(String left,
String right)
append a string
SET left=right.
|
JpqlHelper |
JpqlHelper.some()
append a string
SOME.
|
JpqlHelper |
JpqlHelper.some(String subquery)
append a string
SOME(subquery).
|
JpqlHelper |
JpqlHelper.sps$(String s)
add
" (..string..)
|
JpqlHelper |
JpqlHelper.sqrt()
append a string SQRT.
|
JpqlHelper |
JpqlHelper.sqrt(String field)
append a string
SQRT(field).
|
JpqlHelper |
JpqlHelper.substring(String field,
int start,
int end)
append a string
SUBSTRING(field ,
start , end).
|
JpqlHelper |
JpqlHelper.sum()
append a string SUM.
|
JpqlHelper |
JpqlHelper.sum(String field)
append a string
SUM(field).
|
JpqlHelper |
JpqlHelper.table(String name)
EclipseLink support:
append TABLE(name). |
JpqlHelper |
JpqlHelper.then()
append a string
THEN.
|
JpqlHelper |
JpqlHelper.treat(String entity)
append
TREAT(entity).
|
JpqlHelper |
JpqlHelper.trim()
append a string
TRIM.
|
JpqlHelper |
JpqlHelper.trim(String field)
append a string
TRIM(field).
|
JpqlHelper |
JpqlHelper.True()
append a string TRUE.
|
JpqlHelper |
JpqlHelper.union()
append a string UNION.
|
JpqlHelper |
JpqlHelper.update()
append a string UPDATE.
|
JpqlHelper |
JpqlHelper.update(String entity)
append a string
UPDATE entity.
|
JpqlHelper |
JpqlHelper.upper()
append a string
UPPER.
|
JpqlHelper |
JpqlHelper.upper(String field)
append a string
UPPER(field).
|
JpqlHelper |
JpqlHelper.when()
append a string
WHEN.
|
JpqlHelper |
JpqlHelper.whenThen(String condition,
String result)
append a string
WHEN condition THEN result.
|
JpqlHelper |
JpqlHelper.where()
append a string WHERE.
|
JpqlHelper |
JpqlHelper.where(String qlCriteria)
append a string
WHERE qlCriteria.
|
Copyright © 2020. All rights reserved.