public class DynamicQuery extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DynamicQuery.Parameter |
Modifier and Type | Field and Description |
---|---|
static String |
CLAUSE_GROUPBY |
static String |
CLAUSE_HAVING |
static String |
CLAUSE_ORDERBY |
static String |
CLAUSE_WHERE |
static String |
OPERATOR_AND |
static String |
OPERATOR_OR |
static String |
PREDICATE_EQUALS |
static String |
PREDICATE_GREATERTHAN |
static String |
PREDICATE_IN |
static String |
PREDICATE_LESSTHAN |
static String |
PREDICATE_LIKE |
static String |
PREDICATE_NOTEQUALS |
static String |
SORT_ASC |
static String |
SORT_DESC |
static String |
WILDCARD |
Constructor and Description |
---|
DynamicQuery() |
DynamicQuery(String sql) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object obj) |
DynamicQuery |
AND() |
DynamicQuery |
append(String sql) |
DynamicQuery |
appendCondition(String operator,
DynamicQuery.Parameter... params) |
DynamicQuery |
appendGroupedAnd(DynamicQuery.Parameter... params) |
DynamicQuery |
appendGroupedOr(DynamicQuery.Parameter... params) |
DynamicQuery |
appendInList(String term,
List<?> list) |
DynamicQuery |
appendInListWithAnd(String term,
List<?> list) |
javax.persistence.Query |
buildJPAQuery(javax.persistence.EntityManager em) |
DynamicQuery |
closeParen() |
DynamicQuery |
comma() |
DynamicQuery |
GROUPBY() |
DynamicQuery |
HAVING() |
DynamicQuery |
IN() |
DynamicQuery |
openParen() |
DynamicQuery |
OR() |
DynamicQuery |
ORDERBY() |
DynamicQuery |
pad() |
DynamicQuery |
param() |
String |
toString() |
DynamicQuery |
WHERE() |
public static final String CLAUSE_WHERE
public static final String CLAUSE_GROUPBY
public static final String CLAUSE_ORDERBY
public static final String CLAUSE_HAVING
public static final String OPERATOR_OR
public static final String OPERATOR_AND
public static final String PREDICATE_EQUALS
public static final String PREDICATE_NOTEQUALS
public static final String PREDICATE_LIKE
public static final String PREDICATE_IN
public static final String PREDICATE_GREATERTHAN
public static final String PREDICATE_LESSTHAN
public static final String SORT_ASC
public static final String SORT_DESC
public static final String WILDCARD
public DynamicQuery()
public DynamicQuery(String sql)
public DynamicQuery append(String sql)
public DynamicQuery pad()
public DynamicQuery openParen()
public DynamicQuery closeParen()
public DynamicQuery param()
public DynamicQuery comma()
public DynamicQuery AND()
public DynamicQuery OR()
public DynamicQuery WHERE()
public DynamicQuery IN()
public DynamicQuery GROUPBY()
public DynamicQuery ORDERBY()
public DynamicQuery HAVING()
public DynamicQuery appendGroupedAnd(DynamicQuery.Parameter... params)
public DynamicQuery appendGroupedOr(DynamicQuery.Parameter... params)
public DynamicQuery appendCondition(String operator, DynamicQuery.Parameter... params)
public DynamicQuery appendInListWithAnd(String term, List<?> list)
public DynamicQuery appendInList(String term, List<?> list)
public void addValue(Object obj)
public javax.persistence.Query buildJPAQuery(javax.persistence.EntityManager em)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.