Package | Description |
---|---|
sf.core | |
sf.database.dbinfo | |
sf.database.jdbc.sql | |
sf.database.meta | |
sf.database.support | |
sf.database.util | |
sf.dsl | |
sf.dynamicsql | |
sf.jooq.tables | |
sf.querydsl |
Modifier and Type | Field and Description |
---|---|
protected Map<DBField,Object> |
DBObject.updateValueMap |
Modifier and Type | Method and Description |
---|---|
Map<DBField,Object> |
DBObject.updateValueMap() |
Map<DBField,Object> |
IDML.updateValueMap()
获取目前的updateMap
|
Modifier and Type | Method and Description |
---|---|
boolean |
IEntity.hasUsed(DBField field)
判断该字段是否被赋值过
|
boolean |
DBObject.hasUsed(DBField field) |
void |
DBObject.prepareUpdate(DBField field,
Object newValue) |
void |
IDML.prepareUpdate(DBField field,
Object newValue)
准备更新数据
|
void |
IEntity.touchUsedFlag(DBField field,
boolean flag)
将某个字段标记为是否赋值过
|
void |
DBObject.touchUsedFlag(DBField field,
boolean flag) |
Modifier and Type | Method and Description |
---|---|
Map<DBField,ColumnMapping> |
DBMetaData.getColumnMap(TableMapping meta) |
Modifier and Type | Method and Description |
---|---|
DBField |
SQLParameter.getField() |
Modifier and Type | Class and Description |
---|---|
class |
TupleField |
Modifier and Type | Field and Description |
---|---|
protected DBField |
ColumnMapping.field |
Modifier and Type | Field and Description |
---|---|
protected static Map<DBField,TableMapping> |
MetaHolder.dbField2Tables
数据库字段对应表
|
protected Map<String,DBField> |
TableMapping.fields |
protected List<DBField> |
TableMapping.lobNames |
protected Map<DBField,ColumnMapping> |
TableMapping.schemaMap |
protected Map<DBField,ColumnMapping> |
TableMapping.versionMap
乐观锁 @Version字段的快速索引.
|
Modifier and Type | Method and Description |
---|---|
DBField |
ColumnMapping.getField() |
Modifier and Type | Method and Description |
---|---|
Map<String,DBField> |
TableMapping.getFields() |
List<DBField> |
TableMapping.getLobNames() |
Map<DBField,ColumnMapping> |
TableMapping.getSchemaMap() |
Map<DBField,ColumnMapping> |
TableMapping.getVersionMap() |
Modifier and Type | Method and Description |
---|---|
static TableMapping |
MetaHolder.getTableMapping(DBField field) |
static TableMapping |
MetaHolder.getTableMapping(DBField f,
String clzName) |
void |
ColumnMapping.setField(DBField field) |
Modifier and Type | Method and Description |
---|---|
void |
TableMapping.setLobNames(List<DBField> lobNames) |
void |
TableMapping.setVersionMap(Map<DBField,ColumnMapping> versionMap) |
Modifier and Type | Class and Description |
---|---|
static class |
AllowDataInitialize.Field |
Modifier and Type | Method and Description |
---|---|
default boolean |
MetadataEventListener.onCompareColumns(String tablename,
List<ColumnInfo> columns,
Map<DBField,ColumnMapping> defined)
开始进行表结构的比较
|
Modifier and Type | Method and Description |
---|---|
static Object |
OrmUtils.getDataObjectValue(DBObject obj,
DBField field)
获取值
|
static Object[] |
OrmUtils.getDataObjectValues(DBObject obj,
DBField... fields)
获取值
|
Modifier and Type | Field and Description |
---|---|
protected DBField |
Example.countColumn |
Modifier and Type | Field and Description |
---|---|
protected Set<DBField> |
Example.excludeColumns |
protected Map<DBField,Example.Order> |
Example.orderMap
排序字段
|
protected Map<DBField,ColumnMapping> |
Example.propertyMap |
protected Map<DBField,ColumnMapping> |
Example.GeneratedCriteria.propertyMap |
protected Set<DBField> |
Example.selectColumns |
Modifier and Type | Method and Description |
---|---|
DBField |
Example.getCountColumn() |
Modifier and Type | Method and Description |
---|---|
Map<DBField,Example.Order> |
Example.getOrderMap() |
Set<DBField> |
Example.getSelectColumns() |
Modifier and Type | Method and Description |
---|---|
Example.Criteria |
Example.GeneratedCriteria.addCondition(String condition,
DBField field,
Object value)
自定义左边条件,右边用value值
|
protected void |
Example.GeneratedCriteria.addCriterion(String condition,
DBField property) |
protected void |
Example.GeneratedCriteria.addCriterion(String condition,
Object value,
DBField property) |
protected void |
Example.GeneratedCriteria.addCriterion(String condition,
Object value1,
Object value2,
DBField property) |
protected void |
Example.GeneratedCriteria.addCriterionArray(String condition,
Object value,
DBField property,
boolean defaultValue) |
Example.Criteria |
Example.GeneratedCriteria.between(DBField property,
Object value1,
Object value2) |
String |
Example.column(DBField field)
列名
|
Example.Criteria |
Example.GeneratedCriteria.eq(DBField property,
Object value) |
Example |
Example.excludeProperties(DBField... properties)
排除查询字段,优先级低于 selectProperties
|
Example.Criteria |
Example.GeneratedCriteria.ge(DBField property,
Object value) |
Example.Criteria |
Example.GeneratedCriteria.gt(DBField property,
Object value) |
Example.Criteria |
Example.GeneratedCriteria.in(DBField property,
Collection<?> values) |
Example.Criteria |
Example.GeneratedCriteria.in(DBField property,
Object... values) |
Example.Criteria |
Example.GeneratedCriteria.isNotNull(DBField property) |
Example.Criteria |
Example.GeneratedCriteria.isNull(DBField property) |
Example.Criteria |
Example.GeneratedCriteria.le(DBField property,
Object value) |
Example.Criteria |
Example.GeneratedCriteria.like(DBField property,
String value) |
Example.Criteria |
Example.GeneratedCriteria.like(DBField property,
String value,
boolean escape) |
Example.Criteria |
Example.GeneratedCriteria.like(DBField property,
String value,
char escape) |
Example.Criteria |
Example.GeneratedCriteria.lt(DBField property,
Object value) |
Example.Criteria |
Example.GeneratedCriteria.ne(DBField property,
Object value) |
Example.Criteria |
Example.GeneratedCriteria.notBetween(DBField property,
Object value1,
Object value2) |
Example.Criteria |
Example.GeneratedCriteria.notIn(DBField property,
Collection<?> values) |
Example.Criteria |
Example.GeneratedCriteria.notIn(DBField property,
Object... values) |
Example.Criteria |
Example.GeneratedCriteria.notLike(DBField property,
String value) |
Example.Criteria |
Example.GeneratedCriteria.notLike(DBField property,
String value,
boolean escape) |
Example.Criteria |
Example.GeneratedCriteria.notLike(DBField property,
String value,
char escape) |
Example |
Example.orderBy(DBField... properties) |
Example |
Example.orderBy(DBField property,
Example.Order order) |
Example |
Example.orderByAsc(DBField... properties) |
Example |
Example.orderByDesc(DBField... properties) |
Example |
Example.selectCount(DBField property) |
Example |
Example.selectDistinct(DBField... properties) |
Example |
Example.selectProperties(DBField... properties)
指定要查询的属性列 - 这里会自动映射到表字段
|
Constructor and Description |
---|
Criteria(Example example,
Map<DBField,ColumnMapping> propertyMap,
boolean exists,
boolean notNull) |
GeneratedCriteria(Example example,
Map<DBField,ColumnMapping> propertyMap,
boolean exists,
boolean notNull) |
Modifier and Type | Field and Description |
---|---|
protected Map<DBField,org.mybatis.dynamic.sql.SqlColumn<?>> |
SimpleTable.map |
Modifier and Type | Method and Description |
---|---|
Map<DBField,org.mybatis.dynamic.sql.SqlColumn<?>> |
SimpleTable.getMap() |
Modifier and Type | Method and Description |
---|---|
<T> org.mybatis.dynamic.sql.SqlColumn<T> |
SimpleTable.c(DBField field)
获取列,快速写法
|
<T> org.mybatis.dynamic.sql.SqlColumn<T> |
SimpleTable.column(DBField field)
获取列
|
Modifier and Type | Field and Description |
---|---|
protected Map<DBField,org.jooq.TableField<R,?>> |
JooqTable.map |
Modifier and Type | Method and Description |
---|---|
Map<DBField,org.jooq.TableField<R,?>> |
JooqTable.getMap() |
Modifier and Type | Method and Description |
---|---|
<R extends org.jooq.Record,T> |
JooqTable.c(DBField field)
获取列,快速写法
|
<R extends org.jooq.Record,T> |
JooqTable.column(DBField field)
获取列
|
Modifier and Type | Field and Description |
---|---|
protected Map<DBField,com.querydsl.core.types.Expression<?>> |
JPAEntityPath.map |
protected Map<DBField,com.querydsl.core.types.Expression<?>> |
SQLRelationalPath.map
字段列,值为SimpleExpression
|
Modifier and Type | Method and Description |
---|---|
Map<DBField,com.querydsl.core.types.Expression<?>> |
JPAEntityPath.getMap() |
Map<DBField,com.querydsl.core.types.Expression<?>> |
SQLRelationalPath.getMap() |
Modifier and Type | Method and Description |
---|---|
<A,E> com.querydsl.core.types.dsl.ArrayPath<A,E> |
JPAEntityPath.array(DBField field) |
<A,E> com.querydsl.core.types.dsl.ArrayPath<A,E> |
SQLRelationalPath.array(DBField field) |
com.querydsl.core.types.dsl.BooleanPath |
JPAEntityPath.bool(DBField field) |
com.querydsl.core.types.dsl.BooleanPath |
SQLRelationalPath.bool(DBField field) |
com.querydsl.core.types.dsl.BooleanPath |
SQLRelationalPath.booleanNew(DBField field)
新创建
|
<E,Q extends com.querydsl.core.types.dsl.SimpleExpression<? super E>> |
JPAEntityPath.collection(DBField field) |
protected <T> T |
JPAEntityPath.column(DBField field,
Class<T> clz) |
protected <T> T |
SQLRelationalPath.column(DBField field,
Class<T> clz) |
<T extends Comparable> |
JPAEntityPath.comparable(DBField field) |
<T extends Comparable> |
SQLRelationalPath.comparable(DBField field) |
<T extends Comparable> |
JPAEntityPath.date(DBField field) |
<T extends Comparable> |
SQLRelationalPath.date(DBField field) |
<T extends Comparable> |
JPAEntityPath.dateTime(DBField field) |
<T extends Comparable> |
SQLRelationalPath.dateTime(DBField field) |
<T extends Enum<T>> |
JPAEntityPath.enums(DBField field) |
<T extends Enum<T>> |
SQLRelationalPath.enums(DBField field) |
<P> com.querydsl.core.types.Expression<P> |
JPAEntityPath.expression(DBField field) |
<P> com.querydsl.core.types.Expression<P> |
SQLRelationalPath.expression(DBField field) |
<E,Q extends com.querydsl.core.types.dsl.SimpleExpression<? super E>> |
JPAEntityPath.list(DBField field) |
<K,V,E extends com.querydsl.core.types.dsl.SimpleExpression<? super V>> |
JPAEntityPath.map(DBField field) |
<T extends Number & Comparable<?>> |
JPAEntityPath.number(DBField field) |
<T extends Number & Comparable<?>> |
SQLRelationalPath.number(DBField field)
抹去泛型类型
|
<T extends Number & Comparable<?>> |
SQLRelationalPath.numberNew(DBField field,
Class<T> tClass)
新创建
|
<P> com.querydsl.core.types.Path<P> |
JPAEntityPath.path(DBField field) |
<P> com.querydsl.core.types.Path<P> |
SQLRelationalPath.path(DBField field) |
<E,Q extends com.querydsl.core.types.dsl.SimpleExpression<? super E>> |
JPAEntityPath.set(DBField field) |
<T> com.querydsl.core.types.dsl.SimplePath<T> |
JPAEntityPath.simple(DBField field) |
<T> com.querydsl.core.types.dsl.SimplePath<T> |
SQLRelationalPath.simple(DBField field) |
com.querydsl.core.types.dsl.StringPath |
JPAEntityPath.string(DBField field) |
com.querydsl.core.types.dsl.StringPath |
SQLRelationalPath.string(DBField field) |
com.querydsl.core.types.dsl.StringPath |
SQLRelationalPath.stringNew(DBField field)
新创建
|
<T extends Comparable> |
JPAEntityPath.time(DBField field) |
<T extends Comparable> |
SQLRelationalPath.time(DBField field) |
Copyright © 2020. All rights reserved.