Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(Entity, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- add(Collection<Entity>, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- AggregateSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- AggregateSQLBuilder(AnnotationConfigTable, Dialect, JDBCWhereParser, JDBCGroupByParser, JDBCOrderByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.AggregateSQLBuilder
- aggregator(Query, Aggregation, Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- AnnotationConfigColumn - Class in cool.scx.data.jdbc.mapping
-
AnnotationConfigColumn
- AnnotationConfigColumn(FieldInfo) - Constructor for class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- AnnotationConfigDataType - Class in cool.scx.data.jdbc.mapping
-
AnnotationConfigDataType
- AnnotationConfigDataType(DataType) - Constructor for class cool.scx.data.jdbc.mapping.AnnotationConfigDataType
- AnnotationConfigDataType(Type) - Constructor for class cool.scx.data.jdbc.mapping.AnnotationConfigDataType
- AnnotationConfigTable - Class in cool.scx.data.jdbc.mapping
-
AnnotationConfigTable
- AnnotationConfigTable(Class<?>) - Constructor for class cool.scx.data.jdbc.mapping.AnnotationConfigTable
- apply(Field) - Method in class cool.scx.data.jdbc.column_name_mapping.BeanColumnNameMapping
- apply(String) - Method in class cool.scx.data.jdbc.column_name_mapping.MapFieldNameMapping
- autoIncrement() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
此字段是否为自增 仅用于 创建或修复表时
- autoIncrement() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
B
- beanBuilder() - Method in class cool.scx.data.jdbc.JDBCRepository
- BeanColumnNameMapping - Class in cool.scx.data.jdbc.column_name_mapping
-
这个映射表示 字段 -> 列名
- BeanColumnNameMapping(Table) - Constructor for class cool.scx.data.jdbc.column_name_mapping.BeanColumnNameMapping
- buildAggregateFirstSQL(Query, Aggregation, Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildAggregateFirstSQL(Query, Aggregation, Query) - Method in class cool.scx.data.jdbc.sql_builder.AggregateSQLBuilder
- buildAggregateSQL(Query, Aggregation, Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildAggregateSQL(Query, Aggregation, Query) - Method in class cool.scx.data.jdbc.sql_builder.AggregateSQLBuilder
- buildCountSQL(Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildCountSQL(Query) - Method in class cool.scx.data.jdbc.sql_builder.CountSQLBuilder
- buildDeleteSQL(Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildDeleteSQL(Query) - Method in class cool.scx.data.jdbc.sql_builder.DeleteSQLBuilder
- buildInsertBatchSQL(Collection<?>, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
- buildInsertBatchSQL(Collection<? extends Entity>, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildInsertSQL(Entity, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildInsertSQL(Object, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
- buildSelectFirstSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectFirstSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
- buildSelectFirstSQL(Query, FieldPolicy, LockMode) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectFirstSQL(Query, FieldPolicy, LockMode) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
- buildSelectFirstSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectFirstSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
-
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
- buildSelectSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
- buildSelectSQL(Query, FieldPolicy, LockMode) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectSQL(Query, FieldPolicy, LockMode) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
- buildSelectSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildSelectSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
-
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
- buildUpdateSQL(Entity, FieldPolicy, Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- buildUpdateSQL(Object, FieldPolicy, Query) - Method in class cool.scx.data.jdbc.sql_builder.UpdateSQLBuilder
C
- clear() - Method in class cool.scx.data.jdbc.JDBCRepository
- Column - Annotation Interface in cool.scx.data.jdbc.annotation
-
添加此注解的 字段 在创建数据表是会采用 value 上的类型 如果不添加 则会根据 字段的类型进行创建
- columnName() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
用于标注字段对应的数据库列名.
- columns() - Method in class cool.scx.data.jdbc.mapping.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.column_name_mapping - package cool.scx.data.jdbc.column_name_mapping
- cool.scx.data.jdbc.exception - package cool.scx.data.jdbc.exception
- cool.scx.data.jdbc.mapping - package cool.scx.data.jdbc.mapping
- cool.scx.data.jdbc.parser - package cool.scx.data.jdbc.parser
- cool.scx.data.jdbc.sql_builder - package cool.scx.data.jdbc.sql_builder
- count() - Method in class cool.scx.data.jdbc.JDBCFinder
- CountSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- CountSQLBuilder(Table, Dialect, JDBCWhereParser) - Constructor for class cool.scx.data.jdbc.sql_builder.CountSQLBuilder
- createGroupByColumn(Aggregation) - Method in class cool.scx.data.jdbc.sql_builder.AggregateSQLBuilder
- createInsertExpressionsColumns(FieldPolicy, JDBCColumnNameParser) - Static method in class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
- createInsertExpressionsValue(FieldPolicy) - Static method in class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
- createInsertValues(Column[]) - Static method in class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
- createSelectColumn(Aggregation) - Method in class cool.scx.data.jdbc.sql_builder.AggregateSQLBuilder
- createUpdateSetClauses(Column[], Dialect) - Static method in class cool.scx.data.jdbc.sql_builder.UpdateSQLBuilder
- createUpdateSetExpressionsClauses(FieldPolicy, JDBCColumnNameParser) - Static method in class cool.scx.data.jdbc.sql_builder.UpdateSQLBuilder
- createVirtualSelectColumns(FieldPolicy, Dialect) - Static method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
-
创建虚拟查询列
D
- dataType() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
数据库字段类型 仅用于 创建或修复表时
- dataType() - Method in class cool.scx.data.jdbc.mapping.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.mapping.AnnotationConfigColumn
- delete(Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- DeleteSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- DeleteSQLBuilder(Table, Dialect, JDBCWhereParser, JDBCOrderByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.DeleteSQLBuilder
E
- entityBeanHandler() - Method in class cool.scx.data.jdbc.JDBCRepository
- entityBeanListHandler() - Method in class cool.scx.data.jdbc.JDBCRepository
- entityClass() - Method in class cool.scx.data.jdbc.JDBCRepository
F
- finder(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
- finder(Query, FieldPolicy, LockMode) - Method in class cool.scx.data.jdbc.JDBCRepository
- first() - Method in class cool.scx.data.jdbc.JDBCAggregator
- first() - Method in class cool.scx.data.jdbc.JDBCFinder
- first(Class<T>) - Method in class cool.scx.data.jdbc.JDBCAggregator
- first(Class<T>) - Method in class cool.scx.data.jdbc.JDBCFinder
- firstMap() - Method in class cool.scx.data.jdbc.JDBCFinder
- forEach(Consumer<Entity>) - Method in class cool.scx.data.jdbc.JDBCFinder
- forEach(Consumer<Map<String, Object>>) - Method in class cool.scx.data.jdbc.JDBCAggregator
- forEach(Consumer<T>, Class<T>) - Method in class cool.scx.data.jdbc.JDBCAggregator
- forEach(Consumer<T>, Class<T>) - Method in class cool.scx.data.jdbc.JDBCFinder
- forEachMap(Consumer<Map<String, Object>>) - Method in class cool.scx.data.jdbc.JDBCFinder
G
- getColumn(String) - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigTable
- GetDeleteSQL(String, String[], Long) - Method in class cool.scx.data.jdbc.sql_builder.DeleteSQLBuilder
- getWhereKeyWord(Condition) - Static method in class cool.scx.data.jdbc.parser.JDBCWhereParser
I
- index() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
是否需要添加索引 仅用于 创建或修复表时
- index() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- initTableName(Class<?>) - Static method in class cool.scx.data.jdbc.mapping.AnnotationConfigTable
-
这里判断一下是否使用了数据库 如果使用 则表名省略掉 数据库限定名 否则的话则添加数据库限定名
- InsertSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- InsertSQLBuilder(AnnotationConfigTable, Dialect, JDBCColumnNameParser) - Constructor for class cool.scx.data.jdbc.sql_builder.InsertSQLBuilder
J
- javaField() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- javaFieldValue(Object) - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- JDBCAggregator - Class in cool.scx.data.jdbc
- JDBCAggregator(JDBCRepository<?>, Query, Aggregation, Query) - Constructor for class cool.scx.data.jdbc.JDBCAggregator
- JDBCColumnNameParser - Class in cool.scx.data.jdbc.parser
-
ColumnNameParser
- JDBCColumnNameParser(Table, Dialect) - Constructor for class cool.scx.data.jdbc.parser.JDBCColumnNameParser
- jdbcContext() - Method in class cool.scx.data.jdbc.JDBCRepository
- JDBCFinder<Entity> - Class in cool.scx.data.jdbc
- JDBCFinder(JDBCRepository<Entity>, Query, FieldPolicy) - Constructor for class cool.scx.data.jdbc.JDBCFinder
- JDBCFinder(JDBCRepository<Entity>, Query, FieldPolicy, LockMode) - Constructor for class cool.scx.data.jdbc.JDBCFinder
- JDBCGroupByParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoGroupByParser
- JDBCGroupByParser(JDBCColumnNameParser) - Constructor for class cool.scx.data.jdbc.parser.JDBCGroupByParser
- JDBCOrderByParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoOrderByParser
- JDBCOrderByParser(JDBCColumnNameParser) - Constructor for class cool.scx.data.jdbc.parser.JDBCOrderByParser
- JDBCRepository<Entity> - Class in cool.scx.data.jdbc
-
使用 JDBC 接口, 通过 SQL 操作关系型数据库的 DAO
- JDBCRepository(Class<Entity>, JDBCContext) - Constructor for class cool.scx.data.jdbc.JDBCRepository
- jdbcType() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigDataType
- JDBCWhereParser - Class in cool.scx.data.jdbc.parser
-
JDBCDaoWhereParser
- JDBCWhereParser(JDBCColumnNameParser, Dialect) - Constructor for class cool.scx.data.jdbc.parser.JDBCWhereParser
L
- length() - Element in annotation interface cool.scx.data.jdbc.annotation.DataType
- length() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigDataType
- list() - Method in class cool.scx.data.jdbc.JDBCAggregator
- list() - Method in class cool.scx.data.jdbc.JDBCFinder
- list(Class<T>) - Method in class cool.scx.data.jdbc.JDBCAggregator
- list(Class<T>) - Method in class cool.scx.data.jdbc.JDBCFinder
- listMap() - Method in class cool.scx.data.jdbc.JDBCFinder
M
- MapFieldNameMapping - Class in cool.scx.data.jdbc.column_name_mapping
-
这个映射表示 列名 -> 字段
- MapFieldNameMapping(AnnotationConfigTable) - Constructor for class cool.scx.data.jdbc.column_name_mapping.MapFieldNameMapping
N
- name() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- name() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigDataType
- name() - Method in class cool.scx.data.jdbc.mapping.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.mapping.AnnotationConfigColumn
O
- onUpdate() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
数据库更新时值 仅用于 创建或修复表时 todo 支持函数以实现自定义
- onUpdate() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
P
- parse(OrderBy[]) - Method in class cool.scx.data.jdbc.parser.JDBCOrderByParser
- parse(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
- parseColumnName(FieldGroupBy) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
- parseColumnName(Condition) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
- parseColumnName(OrderBy) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
- parseColumnName(String, boolean) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
- parseGroupBy(FieldGroupBy) - Method in class cool.scx.data.jdbc.parser.JDBCGroupByParser
- primary() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
此字段是否为主键 仅用于 创建或修复表时
- primary() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
S
- SelectSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- SelectSQLBuilder(AnnotationConfigTable, Dialect, JDBCWhereParser, JDBCOrderByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
- sqlRunner() - Method in class cool.scx.data.jdbc.JDBCRepository
T
- table() - Method in class cool.scx.data.jdbc.JDBCRepository
- Table - Annotation Interface in cool.scx.data.jdbc.annotation
-
Table
U
- unique() - Element in annotation interface cool.scx.data.jdbc.annotation.Column
-
是否唯一
- unique() - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigColumn
- update(Entity, FieldPolicy, Query) - Method in class cool.scx.data.jdbc.JDBCRepository
- UpdateSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
- UpdateSQLBuilder(AnnotationConfigTable, Dialect, JDBCColumnNameParser, JDBCWhereParser, JDBCOrderByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.UpdateSQLBuilder
V
- value() - Element in annotation interface cool.scx.data.jdbc.annotation.DataType
- value() - Element in annotation interface cool.scx.data.jdbc.annotation.Table
-
表名称 不指定时为类名转下划线如 UserInfo -> user_info
W
- WrongConditionParamTypeException - Exception Class in cool.scx.data.jdbc.exception
-
WhereBody 参数类型异常
- WrongConditionParamTypeException(String, ConditionType, String) - Constructor for exception class cool.scx.data.jdbc.exception.WrongConditionParamTypeException
- WrongConditionTypeParamSizeException - Exception Class in cool.scx.data.jdbc.exception
-
WhereBody 参数长度异常
- WrongConditionTypeParamSizeException(String, ConditionType, int) - Constructor for exception class cool.scx.data.jdbc.exception.WrongConditionTypeParamSizeException
All Classes and Interfaces|All Packages|Serialized Form