Index
All Classes and Interfaces|All Packages
A
- add(Entity, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
- add(Collection<Entity>, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
- AnnotationConfigColumn - Class in cool.scx.data.jdbc
-
AnnotationConfigColumn
- AnnotationConfigColumn(FieldInfo) - Constructor for class cool.scx.data.jdbc.AnnotationConfigColumn
- AnnotationConfigDataType - Class in cool.scx.data.jdbc
-
AnnotationConfigDataType
- AnnotationConfigDataType(DataType) - Constructor for class cool.scx.data.jdbc.AnnotationConfigDataType
- AnnotationConfigDataType(Type) - Constructor for class cool.scx.data.jdbc.AnnotationConfigDataType
- AnnotationConfigTable - Class in cool.scx.data.jdbc
-
AnnotationConfigTable
- AnnotationConfigTable(Class<?>) - Constructor for class cool.scx.data.jdbc.AnnotationConfigTable
- autoIncrement() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
此字段是否为自增 仅用于 创建或修复表时
- autoIncrement() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
B
- beanBuilder - Variable in class cool.scx.data.jdbc.JDBCDao
- beanBuilder() - Method in class cool.scx.data.jdbc.JDBCDao
- buildGetSQL(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
- buildGetSQLWithAlias(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
-
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
- buildSelectSQL(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
-
构建 (根据聚合查询条件
Query获取数据列表) 的SQL
可用于另一条查询语句的 where 条件 用法 - buildSelectSQLWithAlias(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
-
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
C
- clear() - Method in class cool.scx.data.jdbc.JDBCDao
- Column - Annotation Interface in cool.scx.data.jdbc.annotation
-
添加此注解的 字段 在创建数据表是会采用 value 上的类型 如果不添加 则会根据 字段的类型进行创建
- columnName() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
列的名称 默认取字段名并进行 驼峰 转下划线
- columnName() - Method in record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Returns the value of the
columnNamerecord component. - ColumnNameAndFieldPath(String, String) - Constructor for record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Creates an instance of a
ColumnNameAndFieldPathrecord class. - columnNameMapping - Variable in class cool.scx.data.jdbc.JDBCDao
- ColumnNameParser - Class in cool.scx.data.jdbc.parser
-
ColumnNameParser
- ColumnNameParser() - Constructor for class cool.scx.data.jdbc.parser.ColumnNameParser
- ColumnNameParser.ColumnNameAndFieldPath - Record Class in cool.scx.data.jdbc.parser
- columns() - Method in class cool.scx.data.jdbc.AnnotationConfigTable
- cool.scx.data.jdbc - package cool.scx.data.jdbc
- cool.scx.data.jdbc.annotation - package cool.scx.data.jdbc.annotation
- cool.scx.data.jdbc.parser - package cool.scx.data.jdbc.parser
- count(Query) - Method in class cool.scx.data.jdbc.JDBCDao
- countResultHandler - Variable in class cool.scx.data.jdbc.JDBCDao
-
查询 count 所用的 handler
D
- dataType() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
数据库字段类型 仅用于 创建或修复表时
- dataType() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- DataType - Annotation Interface in cool.scx.data.jdbc.annotation
-
DataType
- defaultValue() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
数据库默认值 仅用于 创建或修复表时
- defaultValue() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- delete(Query) - Method in class cool.scx.data.jdbc.JDBCDao
E
- entityBeanHandler - Variable in class cool.scx.data.jdbc.JDBCDao
-
实体类对应的 BeanListHandler
- entityBeanHandler() - Method in class cool.scx.data.jdbc.JDBCDao
- entityBeanListHandler - Variable in class cool.scx.data.jdbc.JDBCDao
-
实体类对应的 BeanListHandler
- entityBeanListHandler() - Method in class cool.scx.data.jdbc.JDBCDao
- entityClass - Variable in class cool.scx.data.jdbc.JDBCDao
-
实体类 class 用于泛型转换
- entityClass() - Method in class cool.scx.data.jdbc.JDBCDao
- equals(Object) - Method in record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Indicates whether some other object is "equal to" this one.
F
- fieldPath() - Method in record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Returns the value of the
fieldPathrecord component. - filter(FieldFilter, AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.JDBCDaoHelper
-
过滤
- filter(FieldFilter, Object, AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.JDBCDaoHelper
-
过滤
- find(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
- find(Query, FieldFilter, Consumer<Entity>) - Method in class cool.scx.data.jdbc.JDBCDao
G
- get(Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
- getColumn(String) - Method in class cool.scx.data.jdbc.AnnotationConfigTable
- getDataTypeByJavaType(Type) - Static method in class cool.scx.data.jdbc.JDBCDaoHelper
- groupByParser - Variable in class cool.scx.data.jdbc.JDBCDao
H
- hashCode() - Method in record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Returns a hash code value for this object.
I
- index() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
是否需要添加索引 仅用于 创建或修复表时
- index() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- initTableName(Class<?>) - Static method in class cool.scx.data.jdbc.AnnotationConfigTable
-
这里判断一下是否使用了数据库 如果使用 则表名省略掉 数据库限定名 否则的话则添加数据库限定名
J
- javaField() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- javaFieldValue(Object) - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- jdbcContext - Variable in class cool.scx.data.jdbc.JDBCDao
- JDBCDao<Entity> - Class in cool.scx.data.jdbc
-
使用 JDBC 接口, 通过 SQL 操作关系型数据库的 DAO
- JDBCDao(Class<Entity>, JDBCContext) - Constructor for class cool.scx.data.jdbc.JDBCDao
-
a
- JDBCDaoGroupByParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoGroupByParser
- JDBCDaoGroupByParser(AnnotationConfigTable) - Constructor for class cool.scx.data.jdbc.parser.JDBCDaoGroupByParser
- JDBCDaoHelper - Class in cool.scx.data.jdbc
-
列过滤器
- JDBCDaoHelper() - Constructor for class cool.scx.data.jdbc.JDBCDaoHelper
- JDBCDaoOrderByParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoOrderByParser
- JDBCDaoOrderByParser(AnnotationConfigTable) - Constructor for class cool.scx.data.jdbc.parser.JDBCDaoOrderByParser
- JDBCDaoWhereParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoWhereParser
- JDBCDaoWhereParser(AnnotationConfigTable, Dialect) - Constructor for class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- jdbcType() - Method in class cool.scx.data.jdbc.AnnotationConfigDataType
L
- length() - Element in annotation interface cool.scx.data.jdbc.annotation.DataType
- length() - Method in class cool.scx.data.jdbc.AnnotationConfigDataType
N
- name() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- name() - Method in class cool.scx.data.jdbc.AnnotationConfigDataType
- name() - Method in class cool.scx.data.jdbc.AnnotationConfigTable
- NoColumn - Annotation Interface in cool.scx.data.jdbc.annotation
-
添加此注解的 字段 不会映射为数据库字段
- notNull() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
是否必填 仅用于 创建或修复表时
- notNull() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
O
- onUpdate() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
数据库更新时值 仅用于 创建或修复表时 todo 支持函数以实现自定义
- onUpdate() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- orderByParser - Variable in class cool.scx.data.jdbc.JDBCDao
P
- parse(Object) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseBetween(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseColumnName(Table, String, boolean, boolean) - Static method in class cool.scx.data.jdbc.parser.ColumnNameParser
- parseEqual(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseGroupBy(GroupBy) - Method in class cool.scx.data.jdbc.parser.JDBCDaoGroupByParser
- parseIn(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseIsNull(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseJsonContains(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseLike(Where) - Method in class cool.scx.data.jdbc.parser.JDBCDaoWhereParser
- parseOrderBy(OrderBy) - Method in class cool.scx.data.jdbc.parser.JDBCDaoOrderByParser
- primary() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
此字段是否为主键 仅用于 创建或修复表时
- primary() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
S
- splitIntoColumnNameAndFieldPath(String) - Static method in class cool.scx.data.jdbc.parser.ColumnNameParser
- sqlRunner - Variable in class cool.scx.data.jdbc.JDBCDao
-
SQLRunner
- sqlRunner() - Method in class cool.scx.data.jdbc.JDBCDao
T
- Table - Annotation Interface in cool.scx.data.jdbc.annotation
-
ScxModel model 层映射 设置此注解的方法 必须同时 继承 BaseModel
- tableInfo - Variable in class cool.scx.data.jdbc.JDBCDao
-
实体类对应的 table 结构
- tableInfo() - Method in class cool.scx.data.jdbc.JDBCDao
- tableName() - Element in annotation interface cool.scx.data.jdbc.annotation.Table
-
表名称
- tablePrefix() - Element in annotation interface cool.scx.data.jdbc.annotation.Table
-
表名称前缀
- toString() - Method in record class cool.scx.data.jdbc.parser.ColumnNameParser.ColumnNameAndFieldPath
-
Returns a string representation of this record class.
U
- unique() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
是否唯一 (注意 : 当 ScxContext.coreConfig().tombstone() 为 true 时) 会和 tombstone 字段 创建联合的唯一约束
- unique() - Method in class cool.scx.data.jdbc.AnnotationConfigColumn
- update(Entity, Query, FieldFilter) - Method in class cool.scx.data.jdbc.JDBCDao
V
W
- whereParser - Variable in class cool.scx.data.jdbc.JDBCDao
-
where 解析器
All Classes and Interfaces|All Packages