跳过导航链接
A B C D E F G H I J L M N O P Q R S T U V X 

A

after(ExecuteContext, Object, Annotation) - 类 中的方法org.beetl.sql.test.annotation.MyBeanConvertBuilder
 
after(InterceptorContext) - 类 中的方法org.beetl.sql.test.InterceptSample.SqlIdAppendInterceptor
 
append(String, Condition.Opt) - 类 中的方法org.beetl.sql.test.annotation.Condition
 
appendSqlId() - 类 中的方法org.beetl.sql.test.InterceptSample
在给执行的jdbc sql 增加一个注释

B

before(InterceptorContext) - 类 中的方法org.beetl.sql.test.InterceptSample.SqlIdAppendInterceptor
 
BigIntTypeHandler() - 类 的构造器org.beetl.sql.test.MappingSample.BigIntTypeHandler
 
buildExecutor(ExecuteContext) - 类 中的方法org.beetl.sql.test.DbStyleSample.H2StylePlus
 

C

call(SQLManager, Class, Method, Object[]) - 类 中的方法org.beetl.sql.test.annotation.MatcherBuilder.MatcherInvoke
 
call(SQLManager, Class, Method, Object[]) - 类 中的方法org.beetl.sql.test.PluginAnnotationSample.DeleteCheckByIdAMI
 
Condition - org.beetl.sql.test.annotation中的类
 
Condition() - 类 的构造器org.beetl.sql.test.annotation.Condition
 
Condition.Opt - org.beetl.sql.test.annotation中的枚举
 

D

dbQuery(Connection, String, List<SQLParameter>) - 类 中的方法org.beetl.sql.test.DbStyleSample.H2StylePlus.MyExecutor
 
DbStyleSample - org.beetl.sql.test中的类
DbStyle 是Beetlsql的核心之一,这里演示如何扩展底层JDBC的一些参数`,BeetlSQL很少提供对外配置JDBC细节
DbStyleSample() - 类 的构造器org.beetl.sql.test.DbStyleSample
 
DbStyleSample.H2StylePlus - org.beetl.sql.test中的类
 
DbStyleSample.H2StylePlus.MyExecutor - org.beetl.sql.test中的类
考虑jdbc fetch size
debug() - 类 中的方法org.beetl.sql.test.InterceptSample
自带的DebugInterceptor输出详细信息到控制台,这里切换到用日志框架
deleteById(Object) - 接口 中的方法org.beetl.sql.test.PluginAnnotationSample.MyBaseMapper
 
DeleteCheckByIdAMI() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.DeleteCheckByIdAMI
 
DepartmentInfo() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.DepartmentInfo
 

E

error(String) - 类 中的方法org.beetl.sql.test.InterceptSample.LogDebugInterceptor
 
exception(InterceptorContext, Exception) - 类 中的方法org.beetl.sql.test.InterceptSample.SqlIdAppendInterceptor
 

F

FileSQLLoader(String, String) - 类 的构造器org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 
FileSQLLoader(String) - 类 的构造器org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 

G

getAdditional(ExecuteContext, Annotation) - 类 中的方法org.beetl.sql.test.annotation.SchemaTenantContext
 
getCollectionType(Class<?>, Class<?>...) - 类 中的方法org.beetl.sql.test.annotation.JacksonConvert
 
getException(SqlId) - 类 中的方法org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 
getFile(String) - 类 中的方法org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 
getFilePath(String, SqlId) - 类 中的方法org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 
getParser(String, BufferedReader) - 类 中的方法org.beetl.sql.test.SQLLoaderSample.FileSQLLoader
 
getToken() - 枚举 中的方法org.beetl.sql.test.annotation.Condition.Opt
 
getValue(ReadTypeParameter) - 类 中的方法org.beetl.sql.test.MappingSample.BigIntTypeHandler
 
getValue(ReadTypeParameter) - 类 中的方法org.beetl.sql.test.MappingSample.JsonNodeTypeHandler
 

H

H2StylePlus() - 类 的构造器org.beetl.sql.test.DbStyleSample.H2StylePlus
 

I

InterceptSample - org.beetl.sql.test中的类
如何自定义Interceptor,定义了一个SqlIdAppendInterceptor,总是在sql语句最前面增加一个注释, 注释内容为sqlId标识符,方便数据库dba与程序员沟通
InterceptSample() - 类 的构造器org.beetl.sql.test.InterceptSample
 
InterceptSample.LogDebugInterceptor - org.beetl.sql.test中的类
 
InterceptSample.SqlIdAppendInterceptor - org.beetl.sql.test中的类
 

J

Jackson - org.beetl.sql.test.annotation中的注释类型
把对象序列化成字符串传存入到数据库
JacksonConvert - org.beetl.sql.test.annotation中的类
转化字段为json到数据库,以及从数据库读取json字段(字符串类型)到pojo的属性上
JacksonConvert() - 类 的构造器org.beetl.sql.test.annotation.JacksonConvert
 
JsonNodeTypeHandler() - 类 的构造器org.beetl.sql.test.MappingSample.JsonNodeTypeHandler
 

L

loadFromPath() - 类 中的方法org.beetl.sql.test.SQLLoaderSample
在给执行的jdbc sql 增加一个注释
loadMore() - 类 中的方法org.beetl.sql.test.PluginAnnotationSample
查询数据后,在根据注解 @LoadOne定义加载更多数据
LoadOne - org.beetl.sql.test.annotation中的注释类型
指示加载bean前后需要做的处理
LogDebugInterceptor() - 类 的构造器org.beetl.sql.test.InterceptSample.LogDebugInterceptor
 

M

main(String[]) - 类 中的静态方法org.beetl.sql.test.DbStyleSample
 
main(String[]) - 类 中的静态方法org.beetl.sql.test.InterceptSample
 
main(String[]) - 类 中的静态方法org.beetl.sql.test.MappingSample
 
main(String[]) - 类 中的静态方法org.beetl.sql.test.PluginAnnotationSample
 
main(String[]) - 类 中的静态方法org.beetl.sql.test.SQLLoaderSample
 
mappingConfig(Element) - 类 中的方法org.beetl.sql.test.mappping.SimpleXMLMapping
 
MappingSample - org.beetl.sql.test中的类
演示如实如何实现TypeHandler转化BigInteger,和JsonNode,以及RowMapper,xml定义的ResultSetMapper,这些提供了灵活的映射
MappingSample(SQLManager) - 类 的构造器org.beetl.sql.test.MappingSample
 
MappingSample.BigIntTypeHandler - org.beetl.sql.test中的类
Beetlsql 并没有内置对BigInteger支持,这里可以扩展
MappingSample.JsonNodeTypeHandler - org.beetl.sql.test中的类
Jackson的JsonNode类型处理类,使得java属性可以是JsonNode。
MappingSample.MyRowMapper - org.beetl.sql.test中的类
自定义一个行映射
MappingSample.User2 - org.beetl.sql.test中的类
 
MappingSample.User3 - org.beetl.sql.test中的类
使用xml配置映射规则,参考user.xml,ResultProvider表示如何映射,XmlMapping是映射配置
MappingSample.UserNode - org.beetl.sql.test中的类
把jsonNode存放到数据库,或者读取出来,在PluginAnnotation演示了通过自定义注解Jackson实现 这次我们可以换一个更底层的,实现一个类型处理器
MappingSample.UserVo - org.beetl.sql.test中的类
 
MappingSample.UserVo2 - org.beetl.sql.test中的类
 
mapRow(ExecuteContext, Object, ResultSet, int, Annotation) - 类 中的方法org.beetl.sql.test.MappingSample.MyRowMapper
 
Matcher - org.beetl.sql.test.annotation中的注释类型
自定义一个注解,扩展Mapper接口
MatcherBuilder - org.beetl.sql.test.annotation中的类
 
MatcherBuilder() - 类 的构造器org.beetl.sql.test.annotation.MatcherBuilder
 
MatcherBuilder.MatcherInvoke - org.beetl.sql.test.annotation中的类
执行Matcher注解的方法,拼接condition 为sql并执行
MatcherInvoke(boolean, Class) - 类 的构造器org.beetl.sql.test.annotation.MatcherBuilder.MatcherInvoke
 
MyBeanConvertBuilder - org.beetl.sql.test.annotation中的类
演示从数据库取出后,在做一些操作
MyBeanConvertBuilder() - 类 的构造器org.beetl.sql.test.annotation.MyBeanConvertBuilder
 
MyExecutor(ExecuteContext) - 类 的构造器org.beetl.sql.test.DbStyleSample.H2StylePlus.MyExecutor
 
MyRowMapper() - 类 的构造器org.beetl.sql.test.MappingSample.MyRowMapper
 

N

Name() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.Name
 

O

org.beetl.sql.test - 程序包 org.beetl.sql.test
 
org.beetl.sql.test.annotation - 程序包 org.beetl.sql.test.annotation
 
org.beetl.sql.test.mappping - 程序包 org.beetl.sql.test.mappping
 

P

parse(Class, Method) - 类 中的方法org.beetl.sql.test.annotation.MatcherBuilder
 
parse(ExecuteContext, Class, ResultSetMetaData, Annotation) - 类 中的方法org.beetl.sql.test.mappping.SimpleXMLMapping
 
PluginAnnotationSample - org.beetl.sql.test中的类
自定义注解演示
PluginAnnotationSample(SQLManager) - 类 的构造器org.beetl.sql.test.PluginAnnotationSample
 
PluginAnnotationSample.DeleteCheckByIdAMI - org.beetl.sql.test中的类
 
PluginAnnotationSample.DepartmentInfo - org.beetl.sql.test中的类
 
PluginAnnotationSample.MyBaseMapper<T> - org.beetl.sql.test中的接口
构造一个自定的Mapper方法,继承所有BaseMapper,但deleteById会做一些特殊逻辑
PluginAnnotationSample.MyMapper - org.beetl.sql.test中的接口
 
PluginAnnotationSample.Name - org.beetl.sql.test中的类
 
PluginAnnotationSample.SchemaTenantUser - org.beetl.sql.test中的类
通过schema来设置映射到某个库的某个表
PluginAnnotationSample.UserDetail - org.beetl.sql.test中的类
 
PluginAnnotationSample.UserInfo - org.beetl.sql.test中的类
 
preparedStatement() - 类 中的方法org.beetl.sql.test.DbStyleSample
 
println(String) - 类 中的方法org.beetl.sql.test.InterceptSample.LogDebugInterceptor
 

Q

query(Condition, String) - 接口 中的方法org.beetl.sql.test.PluginAnnotationSample.MyMapper
Matcher是扩展注解,表示执行的sql,需要考虑Condition和后面的参数

R

rowMapper() - 类 中的方法org.beetl.sql.test.MappingSample
把查询结果集额外的列映射到属性上

S

SchemaTenant - org.beetl.sql.test.annotation中的注释类型
每个租户一个库
SchemaTenantContext - org.beetl.sql.test.annotation中的类
根据业务逻辑从tenantSchemaLocals 取出schema,设置到动态参数里
SchemaTenantContext() - 类 的构造器org.beetl.sql.test.annotation.SchemaTenantContext
 
SchemaTenantUser() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.SchemaTenantUser
 
setParameter(WriteTypeParameter, Object) - 类 中的方法org.beetl.sql.test.MappingSample.BigIntTypeHandler
 
setParameter(WriteTypeParameter, Object) - 类 中的方法org.beetl.sql.test.MappingSample.JsonNodeTypeHandler
 
SimpleXMLMapping - org.beetl.sql.test.mappping中的类
一个简单演示,如何使用xml配置映射,参考user.xml
SimpleXMLMapping() - 类 的构造器org.beetl.sql.test.mappping.SimpleXMLMapping
 
SqlIdAppendInterceptor() - 类 的构造器org.beetl.sql.test.InterceptSample.SqlIdAppendInterceptor
 
SQLLoaderSample - org.beetl.sql.test中的类
如何自定义一个sql加载器
SQLLoaderSample() - 类 的构造器org.beetl.sql.test.SQLLoaderSample
 
SQLLoaderSample.FileSQLLoader - org.beetl.sql.test中的类
 

T

tenantSchema() - 类 中的方法org.beetl.sql.test.PluginAnnotationSample
一个租户一个库。
tenantSchemaLocals - 类 中的静态变量org.beetl.sql.test.annotation.SchemaTenantContext
 
testJacksonAnnotation() - 类 中的方法org.beetl.sql.test.PluginAnnotationSample
自定义个Json注解 @Jackson,用于序列化到数据库,或者反序列化
testMatcherAnnotation() - 类 中的方法org.beetl.sql.test.PluginAnnotationSample
自定义一个mapper的扩展注解@Matcher,使得mapper参数中有一个Condition类,能构造查询条件。
toAttr(ExecuteContext, Class, String, ResultSet, int) - 类 中的方法org.beetl.sql.test.annotation.JacksonConvert
 
toDb(ExecuteContext, Class, String, Object) - 类 中的方法org.beetl.sql.test.annotation.JacksonConvert
 
toSql() - 类 中的方法org.beetl.sql.test.annotation.Condition
 
typeHandler4BigInt() - 类 中的方法org.beetl.sql.test.MappingSample
实现BigInteger转化
typeHandler4JacksonNode() - 类 中的方法org.beetl.sql.test.MappingSample
实现jackson node 转化

U

User2() - 类 的构造器org.beetl.sql.test.MappingSample.User2
 
User3() - 类 的构造器org.beetl.sql.test.MappingSample.User3
 
UserDetail() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.UserDetail
 
UserInfo() - 类 的构造器org.beetl.sql.test.PluginAnnotationSample.UserInfo
 
UserNode() - 类 的构造器org.beetl.sql.test.MappingSample.UserNode
 
UserVo() - 类 的构造器org.beetl.sql.test.MappingSample.UserVo
 
UserVo2() - 类 的构造器org.beetl.sql.test.MappingSample.UserVo2
 

V

valueOf(String) - 枚举 中的静态方法org.beetl.sql.test.annotation.Condition.Opt
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法org.beetl.sql.test.annotation.Condition.Opt
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

X

XmlMapping - org.beetl.sql.test.annotation中的注释类型
指示加载bean前后需要做的处理
xmlMapping() - 类 中的方法org.beetl.sql.test.MappingSample
按照xml定义映射,SimpleXMLMapping实现了ResultSetMapper接口
A B C D E F G H I J L M N O P Q R S T U V X 
跳过导航链接

Copyright © 2023. All rights reserved.