Index

A B C D E F G H I J L N O P S T U V 
All Classes and Interfaces|All Packages

A

add(Entity, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
add(Collection<Entity>, FieldPolicy) - 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.FieldColumnNameMapping
 
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
 
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
 
buildGetSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
buildGetSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
 
buildGetSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
buildGetSQLWithAlias(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
在 mysql 中 不支持 in 子句中包含 limit 但是我们可以使用 一个嵌套的别名表来跳过检查 此方法便是用于生成嵌套的 sql 的
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
 
buildSelectSQL(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
buildSelectSQL(Query, FieldPolicy) - 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, Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
buildUpdateSQL(Object, Query, FieldPolicy) - 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
列的名称 默认取字段名并进行 驼峰 转下划线
columnName() - Method in record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.ColumnNameAndFieldPath
Returns the value of the columnName record component.
ColumnNameAndFieldPath(String, String) - Constructor for record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.ColumnNameAndFieldPath
Creates an instance of a ColumnNameAndFieldPath record class.
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.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(Query) - Method in class cool.scx.data.jdbc.JDBCRepository
 
CountSQLBuilder - Class in cool.scx.data.jdbc.sql_builder
 
CountSQLBuilder(Table, Dialect, JDBCWhereParser, JDBCGroupByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.CountSQLBuilder
 
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
 
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
 
equals(Object) - Method in record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.ColumnNameAndFieldPath
Indicates whether some other object is "equal to" this one.
extractValues(AnnotationConfigColumn[], Object) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
提取值

F

FieldColumnNameMapping - Class in cool.scx.data.jdbc.column_name_mapping
 
FieldColumnNameMapping(Table) - Constructor for class cool.scx.data.jdbc.column_name_mapping.FieldColumnNameMapping
 
fieldPath() - Method in record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.ColumnNameAndFieldPath
Returns the value of the fieldPath record component.
filterByExcluded(String[], AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
根据黑名单进行过滤 (注意在 fieldExpressions 中存在的 fieldName 也会被移除)
filterByFieldExpressions(Map<String, String>, AnnotationConfigTable, AnnotationConfigColumn...) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
 
filterByFieldPolicy(FieldPolicy, AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
根据 字段策略过滤 可以插入的列 (注意在 fieldExpressions 中存在的 fieldName 也会被移除)
filterByFieldPolicy(FieldPolicy, AnnotationConfigTable, Object) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
根据 字段策略过滤 可以插入的列
filterByFilterMode(FieldPolicy, AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
 
filterByIncluded(String[], AnnotationConfigTable) - Static method in class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
根据白名单进行过滤 (注意在 fieldExpressions 中存在的 fieldName 也会被移除)
find(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
find(Query, FieldPolicy, Consumer<Entity>) - Method in class cool.scx.data.jdbc.JDBCRepository
 
findAs(Class<T>, Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
findAs(Class<T>, Query, FieldPolicy, Consumer<T>) - Method in class cool.scx.data.jdbc.JDBCRepository
 

G

get(Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
getAs(Class<T>, Query, FieldPolicy) - Method in class cool.scx.data.jdbc.JDBCRepository
 
getColumn(String) - Method in class cool.scx.data.jdbc.mapping.AnnotationConfigTable
 

H

hashCode() - Method in record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.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.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
 
JDBCColumnNameParser - Class in cool.scx.data.jdbc.parser
ColumnNameParser
JDBCColumnNameParser(Table, Dialect) - Constructor for class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
JDBCColumnNameParser.ColumnNameAndFieldPath - Record Class in cool.scx.data.jdbc.parser
 
jdbcContext() - Method in class cool.scx.data.jdbc.JDBCRepository
 
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) - 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
 

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(Object) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseBetween(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseColumnName(GroupBy) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
parseColumnName(OrderBy) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
parseColumnName(Where) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
parseColumnName(String, boolean) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
parseColumnName(String, boolean, boolean) - Method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
parseEqual(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseGroupBy(GroupBy) - Method in class cool.scx.data.jdbc.parser.JDBCGroupByParser
 
parseIn(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseIsNull(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseJsonContains(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseLike(Where) - Method in class cool.scx.data.jdbc.parser.JDBCWhereParser
 
parseOrderBy(OrderBy) - Method in class cool.scx.data.jdbc.parser.JDBCOrderByParser
 
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, JDBCGroupByParser, JDBCOrderByParser) - Constructor for class cool.scx.data.jdbc.sql_builder.SelectSQLBuilder
 
splitIntoColumnNameAndFieldPath(String) - Static method in class cool.scx.data.jdbc.parser.JDBCColumnNameParser
 
SQLBuilderHelper - Class in cool.scx.data.jdbc.sql_builder
 
SQLBuilderHelper() - Constructor for class cool.scx.data.jdbc.sql_builder.SQLBuilderHelper
 
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
toString() - Method in record class cool.scx.data.jdbc.parser.JDBCColumnNameParser.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.mapping.AnnotationConfigColumn
 
update(Entity, Query, FieldPolicy) - 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
A B C D E F G H I J L N O P S T U V 
All Classes and Interfaces|All Packages