public class Example extends AbstractExample<Example>
| 限定符和类型 | 类和说明 |
|---|---|
class |
Example.Criteria |
protected class |
Example.GeneratedCriteria |
AbstractExample.Criterioncriteria, dialectName, distinct, entityClass, entityElement, excludePropertys, groupByClause, isAggregate, jdbcBuilder, mappings, orderByClause, oredCriteria, pageInfo, parameters, persistentClass, selectPropertys, sqlBuilder| 限定符和类型 | 方法和说明 |
|---|---|
Example.Criteria |
and() |
void |
and(Example.Criteria criteria) |
void |
clear() |
long |
count() |
Example.Criteria |
createCriteria() |
protected Example.Criteria |
createCriteriaInternal() |
int |
delete() |
Example |
entityClass(Class<?> entityClass)
entityClass for query
|
<T> Example |
excludePropertys(LambdaFunction<T,Object>... excludePropertys)
Exclude query attributes Propertys
|
Example |
excludePropertys(String... excludePropertys)
Exclude query attributes Propertys
|
<T> T |
get() |
<T> Optional<T> |
getOne() |
List<Example.Criteria> |
getOredCriteria() |
<T> Example |
groupByClause(LambdaFunction<T,Object>... groupBys)
Grouping for query
|
Example |
groupByClause(String... groupBys)
Grouping for query
|
Example |
isDistinct(boolean distinct)
Distinct for query
|
<T> List<T> |
list() |
<T,S> Example |
mapping(LambdaFunction<T,Object> property,
LambdaFunction<S,Object> field)
Properties <--> Class Field Mapping
|
<T> Example |
mapping(LambdaFunction<T,Object> property,
String field)
Properties <--> Class Field Mapping
|
Example |
mapping(String property,
String field)
Properties <--> Class Field Mapping
|
Example |
offsetPage(int offset,
int limit)
paging for query
|
Example.Criteria |
or() |
void |
or(Example.Criteria criteria) |
Example |
orderByClause(Sorts sorts)
order for query
|
<T> PageInfo<T> |
page() |
Example |
pageInfo(int pageNum,
int pageSize)
paging for query
|
<T> Example |
selectPropertys(Aggregation aggregation,
LambdaFunction<T,Object>... propertys)
select aggregation query attributes Propertys
|
Example |
selectPropertys(Aggregation aggregation,
String... propertys)
select aggregation query attributes Propertys
|
<T> Example |
selectPropertys(LambdaFunction<T,Object>... propertys)
select query attributes Propertys
|
Example |
selectPropertys(String... propertys)
select query attributes Propertys
|
addCriterion, addCriterion, addCriterion, addCriterion, addCriterionLike, addOrCriterion, addOrCriterion, addOrCriterion, addOrCriterionLike, applyWhere, checkEntity, checkProperty, initEntityElement, isEntitypublic Example(Class<?> persistentClass)
public List<Example.Criteria> getOredCriteria()
public Example mapping(String property, String field)
mapping 在类中 AbstractExample<Example>property - Query Object Propertiesfield - Class Field Mappingpublic <T> Example mapping(LambdaFunction<T,Object> property, String field)
property - Query Object Propertiesfield - Class Field Mappingpublic <T,S> Example mapping(LambdaFunction<T,Object> property, LambdaFunction<S,Object> field)
property - Query Object Propertiesfield - Class Field Mappingpublic Example excludePropertys(String... excludePropertys)
excludePropertys 在类中 AbstractExample<Example>excludePropertys - public <T> Example excludePropertys(LambdaFunction<T,Object>... excludePropertys)
excludePropertys - public Example selectPropertys(String... propertys)
selectPropertys 在类中 AbstractExample<Example>propertys - public <T> Example selectPropertys(LambdaFunction<T,Object>... propertys)
propertys - public Example selectPropertys(Aggregation aggregation, String... propertys)
selectPropertys 在类中 AbstractExample<Example>propertys - public <T> Example selectPropertys(Aggregation aggregation, LambdaFunction<T,Object>... propertys)
propertys - public Example groupByClause(String... groupBys)
groupByClause 在类中 AbstractExample<Example>groupBys - public <T> Example groupByClause(LambdaFunction<T,Object>... groupBys)
groupBys - public Example isDistinct(boolean distinct)
isDistinct 在类中 AbstractExample<Example>public Example orderByClause(Sorts sorts)
orderByClause 在类中 AbstractExample<Example>public Example entityClass(Class<?> entityClass)
entityClass 在类中 AbstractExample<Example>public Example pageInfo(int pageNum, int pageSize)
pageInfo 在类中 AbstractExample<Example>public Example offsetPage(int offset, int limit)
offsetPage 在类中 AbstractExample<Example>public void or(Example.Criteria criteria)
public Example.Criteria or()
public void and(Example.Criteria criteria)
public Example.Criteria and()
public Example.Criteria createCriteria()
protected Example.Criteria createCriteriaInternal()
public <T> List<T> list()
list 在类中 AbstractExample<Example>public <T> T get()
get 在类中 AbstractExample<Example>public <T> Optional<T> getOne()
public long count()
count 在类中 AbstractExample<Example>public <T> PageInfo<T> page()
page 在类中 AbstractExample<Example>public int delete()
delete 在类中 AbstractExample<Example>public void clear()
clear 在类中 AbstractExample<Example>Copyright © 2020. All rights reserved.