| 限定符和类型 | 类和说明 |
|---|---|
static class |
AbstractExample.Criterion |
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<AbstractExample.Criterion> |
criteria |
String |
dialectName |
protected boolean |
distinct |
protected Class<?> |
entityClass |
protected EntityElement |
entityElement |
protected LinkedList<String> |
excludePropertys |
protected LinkedList<String> |
groupByClause |
protected Boolean |
isAggregate |
JdbcBuilder |
jdbcBuilder |
protected Map<String,String> |
mappings |
protected Sorts |
orderByClause |
protected List<Example.Criteria> |
oredCriteria |
protected PageInfo |
pageInfo |
protected LinkedList<Object> |
parameters |
protected Class<?> |
persistentClass |
protected LinkedList<String> |
selectPropertys |
protected SQL |
sqlBuilder |
| 构造器和说明 |
|---|
AbstractExample() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addCriterion(String condition) |
protected void |
addCriterion(String condition,
Object value) |
protected void |
addCriterion(String property,
String condition,
Object value) |
protected void |
addCriterion(String property,
String condition,
Object value1,
Object value2) |
protected void |
addCriterionLike(String property,
Object value,
LikeType likeType,
boolean islike) |
protected void |
addOrCriterion(String condition) |
protected void |
addOrCriterion(String property,
String condition,
Object value) |
protected void |
addOrCriterion(String property,
String condition,
Object value1,
Object value2) |
protected void |
addOrCriterionLike(String property,
Object value,
LikeType likeType,
boolean islike) |
protected SQL |
applyWhere() |
protected void |
checkEntity(Class<?> persistentClass) |
protected FieldElement |
checkProperty(String fieldName) |
protected void |
clear() |
protected long |
count() |
protected int |
delete() |
T |
entityClass(Class<?> entityClass) |
protected T |
excludePropertys(String... excludePropertys) |
protected <T> T |
get() |
protected T |
groupByClause(String... groupBys) |
protected void |
initEntityElement(Class<?> entityClass) |
T |
isDistinct(boolean distinct) |
protected boolean |
isEntity(Class<?> persistentClass) |
protected <T> List<T> |
list() |
protected T |
mapping(String property,
String field) |
T |
offsetPage(int offset,
int limit) |
T |
orderByClause(Sorts sorts) |
protected <T> PageInfo<T> |
page() |
T |
pageInfo(int pageNum,
int pageSize) |
protected T |
selectPropertys(Aggregation aggregation,
String... propertys) |
protected T |
selectPropertys(String... propertys) |
protected SQL sqlBuilder
protected Sorts orderByClause
protected boolean distinct
protected List<Example.Criteria> oredCriteria
protected Class<?> entityClass
protected Class<?> persistentClass
protected PageInfo pageInfo
protected LinkedList<String> excludePropertys
protected EntityElement entityElement
public JdbcBuilder jdbcBuilder
public String dialectName
protected LinkedList<Object> parameters
protected LinkedList<String> selectPropertys
protected LinkedList<String> groupByClause
protected Boolean isAggregate
protected List<AbstractExample.Criterion> criteria
public T isDistinct(boolean distinct)
public T pageInfo(int pageNum, int pageSize)
public T offsetPage(int offset, int limit)
protected T selectPropertys(Aggregation aggregation, String... propertys)
protected void addCriterion(String condition)
protected void addOrCriterion(String condition)
protected void addCriterion(String property, String condition, Object value1, Object value2)
protected void addOrCriterion(String property, String condition, Object value1, Object value2)
protected void addCriterionLike(String property, Object value, LikeType likeType, boolean islike)
protected void addOrCriterionLike(String property, Object value, LikeType likeType, boolean islike)
protected SQL applyWhere()
protected <T> List<T> list()
protected <T> T get()
protected long count()
protected <T> PageInfo<T> page()
protected int delete()
protected void initEntityElement(Class<?> entityClass)
protected boolean isEntity(Class<?> persistentClass)
protected void checkEntity(Class<?> persistentClass)
protected FieldElement checkProperty(String fieldName)
protected void clear()
Copyright © 2020. All rights reserved.