public class Weekend<T> extends Example
Example.Builder, Example.Criteria, Example.Criterion, Example.GeneratedCriteria, Example.OrderBycountColumn, distinct, entityClass, excludeColumns, exists, forUpdate, notNull, ORDERBY, orderByClause, oredCriteria, propertyMap, selectColumns, table, tableName| Constructor and Description |
|---|
Weekend(Class<T> entityClass) |
Weekend(Class<T> entityClass,
boolean exists) |
Weekend(Class<T> entityClass,
boolean exists,
boolean notNull) |
| Modifier and Type | Method and Description |
|---|---|
WeekendCriteria<T,Object> |
createCriteriaAddOn() |
protected Example.Criteria |
createCriteriaInternal() |
Weekend<T> |
excludeProperties(Fn<T,?>... fns)
排除查询字段,优先级低于 selectProperties
|
static <A> Weekend<A> |
of(Class<A> clazz) |
static <A> Weekend<A> |
of(Class<A> clazz,
Boolean exists) |
static <A> Weekend<A> |
of(Class<A> clazz,
Boolean exists,
boolean notNull) |
Example.OrderBy |
orderBy(Fn<T,?> fn) |
Weekend<T> |
selectProperties(Fn<T,?>... fns)
指定要查询的属性列 - 这里会自动映射到表字段
|
WeekendCriteria<T,Object> |
weekendCriteria() |
Weekend<T> |
withCountProperty(Fn<T,?> fn) |
Weekend<T> |
withDistinct(boolean distinct) |
Weekend<T> |
withForUpdate(boolean forUpdate) |
Weekend<T> |
withTableName(String tableName) |
and, and, builder, clear, createCriteria, excludeProperties, getCountColumn, getDynamicTableName, getEntityClass, getOrderByClause, getOredCriteria, getPropertyMap, getSelectColumns, isDistinct, isForUpdate, or, or, orderBy, selectProperties, setCountProperty, setDistinct, setForUpdate, setOrderByClause, setTableNamepublic WeekendCriteria<T,Object> createCriteriaAddOn()
protected Example.Criteria createCriteriaInternal()
createCriteriaInternal in class Examplepublic WeekendCriteria<T,Object> weekendCriteria()
public Weekend<T> excludeProperties(Fn<T,?>... fns)
fns - 属性名的可变参数public Weekend<T> selectProperties(Fn<T,?>... fns)
fns - public Example.OrderBy orderBy(Fn<T,?> fn)
Copyright © 2024. All rights reserved.