序列化表格
-
程序包 org.sagacity.sqltoy.config.model
-
类org.sagacity.sqltoy.config.model.CacheFilterModel扩展Object实现可序列化
- serialVersionUID:
- 6777628067078118834L
-
类org.sagacity.sqltoy.config.model.ColsChainRelativeModel扩展Object实现可序列化
- serialVersionUID:
- -1439243395603428110L
-
序列化字段
-
defaultValue
String defaultValue
默认值 -
endColumn
String endColumn
截止列(支持负数等同于${dataWidth}-x) -
format
String format
环比显示格式(#.00%,#.00‰) -
groupSize
int groupSize
分组长度 -
insert
boolean insert
环比值是否将insert为新列 -
multiply
int multiply
乘数,根据计算的要求,一般有1,100(百分比),1000(千分比) -
radixSize
int radixSize
保留多少小数位 -
reduceOne
boolean reduceOne
是否减一,只计算增量 -
relativeIndexs
Integer[] relativeIndexs
分组内的哪几列进行环比 -
skipSize
int skipSize
分组后跳过多少列 -
startColumn
String startColumn
从第几列开始
-
-
类org.sagacity.sqltoy.config.model.CurrentTimeMaxValue扩展Object实现可序列化
- serialVersionUID:
- -7476828694163555224L
-
序列化字段
-
currentTime
long currentTime
当前毫秒时间 -
value
long value
当前计数值
-
-
类org.sagacity.sqltoy.config.model.DataVersionConfig扩展Object实现可序列化
- serialVersionUID:
- 1L
-
序列化字段
-
field
String field
-
startDate
boolean startDate
-
-
类org.sagacity.sqltoy.config.model.DTOEntityMapModel扩展Object实现可序列化
- serialVersionUID:
- 8851171361533403505L
-
类org.sagacity.sqltoy.config.model.ElasticEndpoint扩展Object实现可序列化
- serialVersionUID:
- 7850474153384016421L
-
序列化字段
-
authCaching
boolean authCaching
是否禁止抢占式身份认证 -
charset
String charset
编码格式 -
connectTimeout
int connectTimeout
连接超时10秒 -
id
String id
配置名称 -
keyStore
String keyStore
证书文件 -
keyStorePass
String keyStorePass
证书秘钥 -
keyStoreSelfSign
boolean keyStoreSelfSign
证书是否自签名 -
keyStoreType
String keyStoreType
证书类型 -
nativeSql
boolean nativeSql
是否原生sql -
password
String password
密码 -
requestTimeout
int requestTimeout
请求超时30秒 -
restClient
org.elasticsearch.client.RestClient restClient
-
socketTimeout
int socketTimeout
整个连接超时时长,默认3分钟 -
sqlPath
String sqlPath
-
url
String url
url地址 -
username
String username
用户名
-
-
类org.sagacity.sqltoy.config.model.EntityMeta扩展Object实现可序列化
- serialVersionUID:
- -1723897636996281118L
-
序列化字段
-
allColumnNames
String allColumnNames
全部字段信息,默认值*最终存放colName1,colName2这种格式 -
bizIdEqPK
boolean bizIdEqPK
业务主键同时也是数据库主键 -
bizIdLength
Integer bizIdLength
业务ID的长度 -
bizIdRelatedColIndex
Integer[] bizIdRelatedColIndex
业务主键依赖的字段在整个表字段中的排列顺序(对象解析完后组织赋值) -
bizIdRelatedColumns
String[] bizIdRelatedColumns
业务主键生成时依赖的几个字段 -
bizIdSequenceSize
Integer bizIdSequenceSize
流水部分长度 -
bizIdSignature
String bizIdSignature
业务主键生成的标志符号 -
businessIdField
String businessIdField
业务id字段 -
businessIdGenerator
IdGenerator businessIdGenerator
业务主键生成策略(单例) -
cascadeModels
List<TableCascadeModel> cascadeModels
主键被关联的子表信息 -
cascadeTypes
Class[] cascadeTypes
级联对象 -
columnFieldMap
HashMap<String,String> columnFieldMap
记录columName对应fieldName -
dataVersion
DataVersionConfig dataVersion
数据版本配置 -
entityClass
Class entityClass
-
fieldIndexs
HashMap<String,Integer> fieldIndexs
字段对应的顺序 -
fieldsArray
String[] fieldsArray
所有字段信息(主键字段放于末尾) -
fieldsDefaultValue
String[] fieldsDefaultValue
所有字段的默认值(排除主键,提供对象save\saveAll 场景构建默认值) -
fieldsMeta
HashMap<String,FieldMeta> fieldsMeta
字段名称对应字段信息的hashMap, 便于通过名称获取字段信息(长度、类型、默认值等等) -
fieldsNullable
Boolean[] fieldsNullable
字段是否可以为null -
fieldsTypeArray
Integer[] fieldsTypeArray
所有字段的类别 -
hasBizIdConfig
boolean hasBizIdConfig
是否存在业务id配置策略 -
idArgWhereSql
String idArgWhereSql
主键?形式参数语句 -
idArray
String[] idArray
主键列 -
idGenerator
IdGenerator idGenerator
id产生的类实例,保证效率直接将实例放入单个实体信息中 -
idJavaType
String idJavaType
-
idNameWhereSql
String idNameWhereSql
主键名称参数条件语句(where id=:id) -
idStrategy
PKStrategy idStrategy
id产生策略 -
loadAllSql
String loadAllSql
获取所有记录sql -
loadSql
String loadSql
根据主键load查询的sql -
pkConstraint
String pkConstraint
主键的约束名称 -
rejectIdFieldArray
String[] rejectIdFieldArray
排除id的字段数组 -
schema
String schema
schema表空间 -
secureColumns
IgnoreCaseSet secureColumns
加解密字段 -
secureFields
List<FieldSecureConfig> secureFields
加密字段 -
sequence
String sequence
对应数据库sequence -
shardingConfig
ShardingConfig shardingConfig
分库分表策略 -
tableName
String tableName
表名 -
tenantField
String tenantField
租户字段名称
-
-
类org.sagacity.sqltoy.config.model.FieldMeta扩展Object实现可序列化
- serialVersionUID:
- -6717053365757314662L
-
序列化字段
-
autoIncrement
boolean autoIncrement
自增 -
columnName
String columnName
-
defaultValue
String defaultValue
默认值 -
fieldName
String fieldName
-
fieldType
String fieldType
字段java类型(已经转小写) -
isPK
boolean isPK
是否主键 -
keyword
boolean keyword
字段是否是关键词 -
length
int length
-
nativeType
String nativeType
数据库对应的字段类型 -
nullable
boolean nullable
-
partitionKey
boolean partitionKey
是否是分区字段 -
precision
int precision
-
scale
int scale
-
type
int type
-
-
类org.sagacity.sqltoy.config.model.FieldSecureConfig扩展Object实现可序列化
- serialVersionUID:
- 7459628659046294643L
-
序列化字段
-
field
String field
字段 -
mask
SecureMask mask
脱敏处理类型 -
secureType
SecureType secureType
安全处理类型(加密或脱敏) -
sourceField
String sourceField
脱敏字段对应的加密字段
-
-
类org.sagacity.sqltoy.config.model.FormatModel扩展Object实现可序列化
- serialVersionUID:
- 8483990404112803642L
-
序列化字段
-
column
String column
列名 -
format
String format
格式 -
locale
String locale
区域 -
roundingMode
RoundingMode roundingMode
-
type
int type
0:date,1:number
-
-
类org.sagacity.sqltoy.config.model.KeyAndIndex扩展Object实现可序列化
- serialVersionUID:
- 580053163840902342L
-
序列化字段
-
index
int index
数组的index值 -
key
String key
属性名称
-
-
类org.sagacity.sqltoy.config.model.LabelIndexModel扩展Object实现可序列化
- serialVersionUID:
- 6937295390933047835L
-
类org.sagacity.sqltoy.config.model.LinkModel扩展Object实现可序列化
- serialVersionUID:
- 6336313366096191304L
-
序列化字段
-
columns
String[] columns
需要link的字段 -
decorateAlign
String decorateAlign
修饰符位置(补长修饰,如:link的字符长度为5,link后要统一成8位的长度) -
decorateAppendChar
String decorateAppendChar
补充字符 -
decorateSize
int decorateSize
补充到的长度 -
distinct
boolean distinct
是否去除重复 -
idColumns
String[] idColumns
分组字段(即以哪个字段为参照) -
sign
String sign
link字段之间的分割符
-
-
类org.sagacity.sqltoy.config.model.NoSqlConfigModel扩展Object实现可序列化
- serialVersionUID:
- -2126986650751681962L
-
序列化字段
-
charset
String charset
已过时。url请求是字符集类型 -
collection
String collection
mongo的集合 -
connectTimeout
int connectTimeout
已过时。 -
endpoint
String endpoint
es的url地址 -
fields
String[] fields
显示字段信息 -
hasAggs
boolean hasAggs
是否有聚合查询 -
index
String index
es的索引 -
requestTimeout
int requestTimeout
已过时。请求获取数据超时时间默认为30秒 -
socketTimeout
int socketTimeout
已过时。整个请求超时时长,3分钟 -
sqlMode
boolean sqlMode
语法模式(sql和原生模式) -
type
String type
es的索引类型(相当于表) -
valueRoot
String[] valueRoot
-
-
类org.sagacity.sqltoy.config.model.NoSqlFieldsModel扩展Object实现可序列化
- serialVersionUID:
- -7811757019736292394L
-
类org.sagacity.sqltoy.config.model.PageOptimize扩展Object实现可序列化
- serialVersionUID:
- -4202934471963179375L
-
序列化字段
-
aliveMax
int aliveMax
1000个不同条件查询 -
aliveSeconds
int aliveSeconds
1.5分钟 -
parallel
boolean parallel
开启并行查询 -
parallelMaxWaitSeconds
long parallelMaxWaitSeconds
默认值为1800秒
-
-
类org.sagacity.sqltoy.config.model.ParamFilterModel扩展Object实现可序列化
- serialVersionUID:
- 2608369719903008282L
-
序列化字段
-
addQuote
String addQuote
to-string 是否需要增加单引号 -
aliasName
String aliasName
转化成新的笔名 -
cacheFilters
CacheFilterModel[] cacheFilters
缓存条件过滤配置 -
cacheKeyIndex
int cacheKeyIndex
cache-arg 中取第几列的值作为key -
cacheMappingIndexes
int[] cacheMappingIndexes
缓存匹配列(默认为第二列) -
cacheMappingMax
int cacheMappingMax
最大匹配数量为500 -
cacheName
String cacheName
缓存名称 -
cacheNotMatchedReturnSelf
boolean cacheNotMatchedReturnSelf
缓存未匹配到key,返回检索词自身 -
cacheNotMatchedValue
String cacheNotMatchedValue
未被缓存转换匹配上赋予的默认值 -
cacheType
String cacheType
缓存类型 -
compareType
String compareType
互斥型filter 对比类型 -
compareValues
String[] compareValues
互斥型filter 对比的值 -
dataType
String dataType
数据类型 -
excludes
Set<String> excludes
排除的参数 -
filterType
String filterType
过滤加工的类型:blank、equals、any、moreThan、moreEquals、lessThan、lessEquals、between、 not-any、to-date、to-number、primary、to-array、replace,exclusive(排斥性参数),cache-arg -
format
String format
日期或数字格式 -
incrementTime
Double incrementTime
增加的时间 -
isFirst
boolean isFirst
是否替换第一个参数 -
numberType
String numberType
numberType -
param
String param
参数名称(exclusive和primary 两个filter使用) -
params
String[] params
参数名称数组 -
priorMatchEqual
boolean priorMatchEqual
反向缓存翻译,是否优先判断相等 -
regex
String regex
replace的表达式 -
singleQuote
boolean singleQuote
to-in-arg 是否增加单引号 -
split
String split
分割符 -
timeUnit
TimeUnit timeUnit
增减时间的单位 -
type
String type
to-date 的日期类型 -
updateParams
String[] updateParams
exclusive 排他性参数 -
updateValue
String updateValue
设置的值(exclusive filter) -
values
Object[] values
参数值
-
-
类org.sagacity.sqltoy.config.model.PivotModel扩展Object实现可序列化
- serialVersionUID:
- -6583560999494073747L
-
类org.sagacity.sqltoy.config.model.PKGeneratorStrategy扩展Object实现可序列化
- serialVersionUID:
- -1264532949768965572L
-
类org.sagacity.sqltoy.config.model.ReverseModel扩展Object实现可序列化
- serialVersionUID:
- 2770052243575868466L
-
类org.sagacity.sqltoy.config.model.RowsChainRelativeModel扩展Object实现可序列化
- serialVersionUID:
- -8741662714912669143L
-
序列化字段
-
defaultValue
String defaultValue
默认值 -
endRow
Integer endRow
截止行,负数表示倒数第几行 -
format
String format
环比显示格式(#.00%,#.00‰) -
groupColumn
String groupColumn
分组长度 -
insert
boolean insert
环比值是否将insert为新列 -
multiply
int multiply
乘数,根据计算的要求,一般有1,100(百分比),1000(千分比) -
radixSize
int radixSize
保留多少小数位 -
reduceOne
boolean reduceOne
是否减一,只计算增量 -
relativeColumns
String[] relativeColumns
对哪几列进行比较计算 -
relativeIndexs
Integer[] relativeIndexs
分组内的哪几列进行环比 -
reverse
boolean reverse
是否逆序 -
startRow
Integer startRow
从第几列开始
-
-
类org.sagacity.sqltoy.config.model.SecureMask扩展Object实现可序列化
- serialVersionUID:
- 7967285640261486118L
-
类org.sagacity.sqltoy.config.model.ShardingConfig扩展Object实现可序列化
- serialVersionUID:
- 3194225565492327232L
-
序列化字段
-
globalRollback
boolean globalRollback
数据库操作异常做全局异常回滚 -
maxConcurrents
int maxConcurrents
最大并行线程数量 -
maxWaitSeconds
int maxWaitSeconds
并行执行最大等待时长 -
shardingDBStrategy
ShardingStrategyConfig shardingDBStrategy
分库策略 -
shardingTableStrategy
ShardingStrategyConfig shardingTableStrategy
分表策略
-
-
类org.sagacity.sqltoy.config.model.ShardingDBModel扩展Object实现可序列化
- serialVersionUID:
- -4119527303448356631L
-
序列化字段
-
dataSource
DataSource dataSource
数据源 -
dataSourceName
String dataSourceName
数据源名称
-
-
类org.sagacity.sqltoy.config.model.ShardingGroupModel扩展Object实现可序列化
- serialVersionUID:
- -1188114638866564391L
-
序列化字段
-
entities
List entities
分组的数据集合(根据数据源或表切分出的数据集合) -
key
String key
dataSourceName + tableName 组成一个分组 -
shardingModel
ShardingModel shardingModel
分组对应的sharding配置(对应db和table)
-
-
类org.sagacity.sqltoy.config.model.ShardingModel扩展Object实现可序列化
- serialVersionUID:
- 4092467610948600457L
-
序列化字段
-
dataSource
DataSource dataSource
数据源名称 -
dataSourceName
String dataSourceName
数据源名称 -
tableName
String tableName
表名
-
-
类org.sagacity.sqltoy.config.model.ShardingStrategyConfig扩展Object实现可序列化
- serialVersionUID:
- -1424263873061119413L
-
类org.sagacity.sqltoy.config.model.SqlExecuteLog扩展Object实现可序列化
- serialVersionUID:
- 9086562500060758958L
-
类org.sagacity.sqltoy.config.model.SqlExecuteTrace扩展Object实现可序列化
- serialVersionUID:
- 6050450953137017285L
-
类org.sagacity.sqltoy.config.model.SqlParamsModel扩展Object实现可序列化
- serialVersionUID:
- -3519750508404237911L
-
类org.sagacity.sqltoy.config.model.SqlToyConfig扩展Object实现可序列化
- serialVersionUID:
- 3168222164418634488L
-
序列化字段
-
cacheArgNames
List<String> cacheArgNames
缓存条件参数名称(包含aliasName),解析过程已经增加 -
countSql
String countSql
针对极端性能要求的查询,提供独立的取总记录数的sql -
dataSource
String dataSource
sql特定使用的dataSource(一般在项目跨多个数据库且是查询语句时使用) -
dataSourceSharding
ShardingStrategyConfig dataSourceSharding
分库策略 -
dbShardingParams
String[] dbShardingParams
分库对应参数合集 -
decryptColumns
IgnoreCaseSet decryptColumns
解密字段 -
dialect
String dialect
数据库方言 -
dialectSqlMap
ConcurrentHashMap<String,String> dialectSqlMap
针对多方言存放sql -
fastPreSql
String fastPreSql
快速分页前部分sql -
fastSql
String fastSql
快速分页部分的sql -
fastTailSql
String fastTailSql
快速分页后部分sql -
fastWithIndex
int fastWithIndex
快速分页部分的sql引用with as表名的位置,即用到第几个with -
fastWithSql
String fastWithSql
快速分页用到的with as 部分sql -
filters
List<ParamFilterModel> filters
查询参数条件过滤器 -
formatModels
List<FormatModel> formatModels
格式化定义 -
hasFast
boolean hasFast
是否有分页 -
hasIncludeSql
boolean hasIncludeSql
sql中是否包含@include(sqlId) sql片段嵌入 -
hasUnion
boolean hasUnion
判定sql是否有union 语法 -
hasWith
boolean hasWith
是否存在with查询 -
id
String id
sqlId,对应xml定义的sql唯一标志 -
ignoreBracket
boolean ignoreBracket
-
ignoreEmpty
boolean ignoreEmpty
忽视空集合 -
isUnionAllCount
boolean isUnionAllCount
是否union all形式的分页查询 -
linkModel
LinkModel linkModel
对列进行拼接方式定义 -
noSqlConfigModel
NoSqlConfigModel noSqlConfigModel
-
pageOptimize
PageOptimize pageOptimize
分页优化器 -
paramsName
String[] paramsName
参数名称,按照参数出现的顺序排列 -
resultProcessor
List resultProcessor
查询结果处理器 -
secureMasks
List<SecureMask> secureMasks
安全脱敏配置 -
showSql
Boolean showSql
是否打印输出sql,通过sql注释中增加#not_print#或 #not_debug#进行关闭 -
sql
String sql
sql内容 -
sqlType
SqlType sqlType
默认为查询语句 -
tableShardingParams
String[] tableShardingParams
分表对应参数合集 -
tableShardings
List<ShardingStrategyConfig> tableShardings
分表策略 -
translateMap
HashMap<String,Translate> translateMap
翻译器
-
-
类org.sagacity.sqltoy.config.model.SqlToyResult扩展Object实现可序列化
- serialVersionUID:
- 1290910325447165025L
-
类org.sagacity.sqltoy.config.model.SqlWithAnalysis扩展Object实现可序列化
- serialVersionUID:
- -5841684922722930298L
-
类org.sagacity.sqltoy.config.model.SummaryColMeta扩展Object实现可序列化
- serialVersionUID:
- -1908959992729333525L
-
序列化字段
-
aveSkipNull
boolean aveSkipNull
求平均值是否跳过null值 -
colIndex
int colIndex
计算列 -
nullCount
int nullCount
null值数量 -
radixSize
int radixSize
保留小数位 -
roundingMode
RoundingMode roundingMode
求平均进位方式 -
rowCount
int rowCount
数据数量 -
summaryType
int summaryType
计算类型:1、求和;2、求平均;3、求和+求平均 -
sumValue
BigDecimal sumValue
汇总值
-
-
类org.sagacity.sqltoy.config.model.SummaryGroupMeta扩展Object实现可序列化
- serialVersionUID:
- -1682139154905127196L
-
序列化字段
-
averageTitle
String averageTitle
平均标题 -
globalReverse
boolean globalReverse
全局汇总是否反转放于开始行 -
groupCols
Integer[] groupCols
分组列(groupColumn拆解后的分组列) -
groupColumn
String groupColumn
分组列(xml配置解析后的列字符) -
labelColumn
String labelColumn
标题存放位置 -
labelIndex
int labelIndex
具体标题存放的列 -
rowSize
int rowSize
-
summaryCols
SummaryColMeta[] summaryCols
分组下面的每个计算列的设置配置 -
summaryType
int summaryType
默认sum计算 -
sumSite
String sumSite
汇总值排列位置 -
sumTitle
String sumTitle
汇总标题
-
-
类org.sagacity.sqltoy.config.model.SummaryModel扩展Object实现可序列化
- serialVersionUID:
- -2510246189482255234L
-
序列化字段
-
averageCols
String averageCols
计算平均值的列 -
averageSkipNull
boolean averageSkipNull
求平均是否忽视掉null,举例:{1,3,5,null,9} 结果(1+3+5+9)/4 -
groupColumn
String groupColumn
全局统计的分组列 -
groupMeta
SummaryGroupMeta[] groupMeta
-
linkSign
String linkSign
汇总和平均两个值拼接输出时拼接的字符 -
radixSize
Integer[] radixSize
小数位长度 -
reverse
boolean reverse
是否是逆向汇总 -
roundingModes
RoundingMode[] roundingModes
-
skipSingleRow
boolean skipSingleRow
跳过单行数据的分组计算 -
summaryCols
String summaryCols
定义所有需要计算的列 -
sumSite
String sumSite
平均值所在位置:top/buttom/left/right 四种模式
-
-
类org.sagacity.sqltoy.config.model.TableCascadeModel扩展Object实现可序列化
- serialVersionUID:
- 1309393602795660950L
-
序列化字段
-
cascadeType
int cascadeType
1:oneToMany;2:oneToOne -
cascadeUpdateSql
String cascadeUpdateSql
级联修改子表的sql -
delete
boolean delete
是否级联删除 -
deleteSubTableSql
String deleteSubTableSql
删除子表sql -
fields
String[] fields
主表字段 -
loadExtCondition
String loadExtCondition
load级联加载的扩展条件 -
loadSubTableSql
String loadSubTableSql
查询子表记录sql -
mappedColumns
String[] mappedColumns
主键关联表对应的外键字段 -
mappedFields
String[] mappedFields
主键关联子表对象的属性(entityManager自动处理按主表主键顺序排列,即跟entityModel中的getIdArray顺序是一致的) -
mappedTable
String mappedTable
主键关联的表 -
mappedType
Class mappedType
对应子表对象的类型 -
notNullField
String notNullField
非null字段 -
orderBy
String orderBy
排序 -
property
String property
对应vo中的List集合属性
-
-
类org.sagacity.sqltoy.config.model.Translate扩展Object实现可序列化
- serialVersionUID:
- 6616462798500953675L
-
序列化字段
-
extend
TranslateExtend extend
-
-
类org.sagacity.sqltoy.config.model.TreeSortModel扩展Object实现可序列化
- serialVersionUID:
- 804547027448571388L
-
类org.sagacity.sqltoy.config.model.UnpivotModel扩展Object实现可序列化
- serialVersionUID:
- 5423610793788395709L
-
-
程序包 org.sagacity.sqltoy.dialect.model
-
类org.sagacity.sqltoy.dialect.model.SavePKStrategy扩展Object实现可序列化
- serialVersionUID:
- -8421486950005753407L
-
序列化字段
-
isAssginValue
boolean isAssginValue
是否针对主键进行手工赋值 -
pkStrategy
PKStrategy pkStrategy
主键策略
-
-
-
程序包 org.sagacity.sqltoy.exception
-
类org.sagacity.sqltoy.exception.DataAccessException扩展RuntimeException实现可序列化
- serialVersionUID:
- 6200356390963104605L
-
-
程序包 org.sagacity.sqltoy.link
-
类org.sagacity.sqltoy.link.BaseLink扩展Object实现可序列化
- serialVersionUID:
- 6032935116286610811L
-
序列化字段
-
dataSource
DataSource dataSource
数据源 -
defaultDataSource
boolean defaultDataSource
是否默认dataSource -
dialectFactory
DialectFactory dialectFactory
各种数据库方言实现 -
sqlToyContext
SqlToyContext sqlToyContext
sqltoy上下文
-
-
类org.sagacity.sqltoy.link.Batch扩展BaseLink实现可序列化
- serialVersionUID:
- -3564526241047940595L
-
序列化字段
-
autoCommit
Boolean autoCommit
是否自动提交 -
batchSize
int batchSize
批次记录数量 -
dataSet
List<?> dataSet
批量处理的数据集合 -
insertCallhandler
InsertRowCallbackHandler insertCallhandler
插入反调处理器 -
sql
String sql
sql语句
-
-
类org.sagacity.sqltoy.link.Delete扩展BaseLink实现可序列化
- serialVersionUID:
- 3342119854878262119L
-
序列化字段
-
autoCommit
Boolean autoCommit
是否自动提交 -
batchSize
int batchSize
批次处理的记录数量
-
-
类org.sagacity.sqltoy.link.Elastic扩展BaseLink实现可序列化
- serialVersionUID:
- -3963816230256439625L
-
类org.sagacity.sqltoy.link.Execute扩展BaseLink实现可序列化
- serialVersionUID:
- 6336692505147861983L
-
序列化字段
-
autoCommit
Boolean autoCommit
是否自动提交 -
entity
Serializable entity
作为参数传递的实体对象(属性跟sql中的参数名称对应) -
paramsNamed
String[] paramsNamed
参数名称 -
paramsValue
Object[] paramsValue
参数值 -
sql
String sql
具体执行的sql
-
-
类org.sagacity.sqltoy.link.Load扩展BaseLink实现可序列化
- serialVersionUID:
- 9187056738357750608L
-
类org.sagacity.sqltoy.link.Mongo扩展BaseLink实现可序列化
- serialVersionUID:
- -4443964509492022973L
-
序列化字段
-
entity
Serializable entity
查询条件赋值的对象,自动根据sql中的参数名称跟对象的属性进行匹配提取响应的值作为条件 -
ERROR_MESSAGE
String ERROR_MESSAGE
-
humpMapLabel
Boolean humpMapLabel
返回结果是Map类型,属性标签是否需要驼峰化命名处理 -
logger
org.slf4j.Logger logger
定义日志 -
mongoQuery
MongoQuery mongoQuery
基于spring-data的mongo工厂类 -
names
String[] names
sql中的参数名称 -
resultType
Type resultType
返回结果类型 -
sql
String sql
查询语句 -
values
Object[] values
参数对应的值
-
-
类org.sagacity.sqltoy.link.Query扩展BaseLink实现可序列化
- serialVersionUID:
- -8128694559008281052L
-
序列化字段
-
entity
Serializable entity
查询条件赋值的对象,自动根据sql中的参数名称跟对象的属性进行匹配提取响应的值作为条件 -
fetchSize
int fetchSize
jdbc 查询时默认加载到内存中的记录数量 -1表示不设置,采用数据库默认的值 -
handler
RowCallbackHandler handler
已过时。结果自定义处理器,一般不使用(作为特殊情况下的备用策略) -
humpMapLabel
Boolean humpMapLabel
返回hashMap数据集合时key的格式是否变成驼峰模式 -
lockMode
LockMode lockMode
锁表 -
maxRows
int maxRows
jdbc查询最大返回记录数量 -
names
String[] names
sql中的参数名称 -
resultType
Class<?> resultType
返回结果类型 -
sql
String sql
sql语句或者sqlId -
values
Object[] values
参数对应的值
-
-
类org.sagacity.sqltoy.link.Save扩展BaseLink实现可序列化
- serialVersionUID:
- 3086927739096637361L
-
类org.sagacity.sqltoy.link.Store扩展BaseLink实现可序列化
- serialVersionUID:
- 8055671388714803899L
-
类org.sagacity.sqltoy.link.TableApi扩展BaseLink实现可序列化
- serialVersionUID:
- -6239897514441516513L
-
类org.sagacity.sqltoy.link.TreeTable扩展BaseLink实现可序列化
- serialVersionUID:
- 2471677449407100687L
-
序列化字段
-
treeModel
TreeTableModel treeModel
树结构表模型
-
-
类org.sagacity.sqltoy.link.Unique扩展BaseLink实现可序列化
- serialVersionUID:
- 1489170834481063214L
-
序列化字段
-
entity
Serializable entity
判断唯一性的对象实体 -
fields
String[] fields
附加判断属性名称(复合唯一性索引)
-
-
类org.sagacity.sqltoy.link.Update扩展BaseLink实现可序列化
- serialVersionUID:
- 5391575924738181611L
-
序列化字段
-
autoCommit
Boolean autoCommit
是否自动提交 -
batchSize
int batchSize
批处理提交记录数量 -
deeply
boolean deeply
是否深度修改 -
forceCascadeClasses
Class[] forceCascadeClasses
(强制需要修改的子对象,当子集合数据为null,则进行清空或置为无效处理,否则则忽视对存量数据的处理) -
forceUpdateProps
String[] forceUpdateProps
强制修改的字段属性 -
subTableForceUpdateProps
HashMap<Class,String[]> subTableForceUpdateProps
子表分别需要强制修改的属性 -
uniqueFields
String[] uniqueFields
实现基于唯一性索引字段进行数据修改(非主键)
-
-
-
程序包 org.sagacity.sqltoy.model
-
类org.sagacity.sqltoy.model.CacheMatchFilter扩展Object实现可序列化
- serialVersionUID:
- -7916695239810406512L
-
序列化字段
-
cacheFilterArgs
CacheMatchExtend cacheFilterArgs
-
-
类org.sagacity.sqltoy.model.ColumnMeta扩展Object实现可序列化
- serialVersionUID:
- 3159696936177058511L
-
序列化字段
-
autoIncrement
boolean autoIncrement
是否自增 -
colName
String colName
字段名称 -
columnSize
int columnSize
字段长度 -
comments
String comments
字段注释 -
dataType
Integer dataType
字段类型 -
decimalDigits
int decimalDigits
-
defaultValue
String defaultValue
默认值 -
indexName
String indexName
索引名称 -
isIndex
boolean isIndex
是否索引 -
isPK
boolean isPK
是否是主键 -
nullable
boolean nullable
是否为null -
numPrecRadix
int numPrecRadix
-
partitionKey
boolean partitionKey
是否分区字段(mpp数据库) -
typeName
String typeName
类型名称 -
unique
boolean unique
是否唯一索引
-
-
类org.sagacity.sqltoy.model.DataAuthFilterConfig扩展Object实现可序列化
- serialVersionUID:
- 2593018971677025720L
-
类org.sagacity.sqltoy.model.EntityQuery扩展Object实现可序列化
- serialVersionUID:
- 5223170071884950204L
-
序列化字段
-
innerModel
EntityQueryExtend innerModel
通过扩展对象减少EntityQuery里面的大量get方法,减少对开发过程的影响
-
-
类org.sagacity.sqltoy.model.EntityUpdate扩展Object实现可序列化
- serialVersionUID:
- -6476698994760985087L
-
序列化字段
-
innerModel
EntityUpdateExtend innerModel
内部参数对象模型,减少开发时大量的get对开发的影响
-
-
类org.sagacity.sqltoy.model.IgnoreCaseLinkedMap扩展LinkedHashMap<K,V>实现可序列化
- serialVersionUID:
- 391326207592902507L
-
类org.sagacity.sqltoy.model.IgnoreCaseSet扩展HashSet<String>实现可序列化
- serialVersionUID:
- 1L
-
类org.sagacity.sqltoy.model.IgnoreKeyCaseMap扩展ConcurrentHashMap<K,V>实现可序列化
- serialVersionUID:
- 391326207592902507L
-
类org.sagacity.sqltoy.model.MapKit扩展Object实现可序列化
- serialVersionUID:
- -7326755576648579935L
-
类org.sagacity.sqltoy.model.OverTimeSql扩展Object实现可序列化
- serialVersionUID:
- -3149678048950643843L
-
序列化字段
-
aveTakeTime
BigDecimal aveTakeTime
平均耗时 -
codeTrace
String codeTrace
调用sql的代码位置 -
firstLogTime
LocalDateTime firstLogTime
首次执行时间 -
id
String id
sqlId -
logTime
LocalDateTime logTime
执行时间(最后发生超时查询的执行时间) -
overTimeCount
long overTimeCount
超时次数 -
sql
String sql
sql内容 -
takeTime
long takeTime
耗时(毫秒)
-
-
类org.sagacity.sqltoy.model.Page扩展Object实现可序列化
- serialVersionUID:
- -7117473828519846708L
-
类org.sagacity.sqltoy.model.ParallelConfig扩展Object实现可序列化
- serialVersionUID:
- 5130763135305535186L
-
类org.sagacity.sqltoy.model.ParallQuery扩展Object实现可序列化
- serialVersionUID:
- 1316664483969945064L
-
序列化字段
-
extend
ParallQueryExtend extend
参数内部类化,减少get方法
-
-
类org.sagacity.sqltoy.model.ParallQueryResult扩展Object实现可序列化
- serialVersionUID:
- 5615476778698123272L
-
序列化字段
-
message
String message
执行信息 -
result
QueryResult result
结果对象 -
success
boolean success
是否成功
-
-
类org.sagacity.sqltoy.model.ParamsFilter扩展Object实现可序列化
- serialVersionUID:
- 1976248512731692880L
-
类org.sagacity.sqltoy.model.QueryExecutor扩展Object实现可序列化
- serialVersionUID:
- -6149173009738072148L
-
序列化字段
-
innerModel
QueryExecutorExtend innerModel
扩展内部模型,减少过多get方法干扰开发 -
logger
org.slf4j.Logger logger
定义日志
-
-
类org.sagacity.sqltoy.model.QueryResult扩展DataSetResult<T>实现可序列化
- serialVersionUID:
- 525226255944594283L
-
类org.sagacity.sqltoy.model.ShardingResult扩展Object实现可序列化
- serialVersionUID:
- 2677176208224903988L
-
类org.sagacity.sqltoy.model.StoreResult扩展DataSetResult<T>实现可序列化
- serialVersionUID:
- 1936180601122427649L
-
类org.sagacity.sqltoy.model.TableMeta扩展Object实现可序列化
- serialVersionUID:
- 4301565874545099339L
-
类org.sagacity.sqltoy.model.TreeTableModel扩展Object实现可序列化
- serialVersionUID:
- 6422408233450252053L
-
序列化字段
-
appendZero
boolean appendZero
补零 -
conditions
String conditions
附加条件 -
entity
Serializable entity
实体对象(entity和tableName 只需指定一个,有entity则无需指定idField\idValue\isChar等属性) -
idField
String idField
id对应字段 -
idLength
int idLength
id字段长度 -
idValue
Object idValue
主键值 -
isChar
Boolean isChar
id值的数据类型,字符还是数字 -
leafField
String leafField
叶子节点字段 -
nodeLevelField
String nodeLevelField
节点层次等级字段 -
nodeRouteField
String nodeRouteField
节点路径字段 -
pidField
String pidField
父id对应字段 -
rootId
Object rootId
根节点id值(一般为-1) -
splitSign
String splitSign
节点路径分割符号 -
tableName
String tableName
table名称
-
-
类org.sagacity.sqltoy.model.UniqueExecutor扩展Object实现可序列化
- serialVersionUID:
- 4655678022572718682L
-
序列化字段
-
dataSource
DataSource dataSource
特定数据库连接资源 -
entity
Serializable entity
实体对象 -
uniqueFields
String[] uniqueFields
整体判定唯一的字段
-
-
-
程序包 org.sagacity.sqltoy.model.inner
-
类org.sagacity.sqltoy.model.inner.CacheMatchExtend扩展Object实现可序列化
- serialVersionUID:
- 6232890514798490527L
-
序列化字段
-
cacheFilter
CacheFilter cacheFilter
缓存数据过滤 -
cacheKeyIndex
int cacheKeyIndex
缓存中key所在的列,一般为0 -
cacheName
String cacheName
缓存名称 -
cacheType
String cacheType
缓存中的分类,一般数据字典场景存在 -
matchIndexs
int[] matchIndexs
缓存中用来跟名称匹配的列,默认为1 -
matchSize
int matchSize
最大匹配数量 -
priorMatchEqual
boolean priorMatchEqual
优先匹配相等 -
unMatchedReturnSelf
boolean unMatchedReturnSelf
缓存通过名称关键词未匹配到key,返回关键词本身
-
-
类org.sagacity.sqltoy.model.inner.DataSetResult扩展Object实现可序列化
- serialVersionUID:
- -2125295102578360914L
-
类org.sagacity.sqltoy.model.inner.EntityQueryExtend扩展Object实现可序列化
- serialVersionUID:
- 5446320176141577000L
-
序列化字段
-
blankToNull
boolean blankToNull
空白字符转为null,默认为true -
dataSource
DataSource dataSource
数据源 -
dbSharding
ShardingStrategyConfig dbSharding
-
distinct
boolean distinct
-
fetchSize
int fetchSize
jdbc 查询时默认加载到内存中的记录数量 -1表示不设置,采用数据库默认的值 -
fields
String[] fields
查询哪些字段 -
groupBy
String groupBy
-
having
String having
-
lockMode
LockMode lockMode
锁类型 -
maxRows
int maxRows
jdbc查询最大返回记录数量 -
names
String[] names
参数名称 -
notSelectFields
Set<String> notSelectFields
不参与查询的字段 -
orderBy
LinkedHashMap<String,String> orderBy
动态组织的order by 排序 -
pageOptimize
PageOptimize pageOptimize
分页优化模型 -
paramFilters
List<ParamsFilter> paramFilters
动态设置filters -
pickSize
double pickSize
取记录数量 -
pickType
int pickType
-1:普通查询; 0:top;1:取随机记录 -
secureMask
LinkedHashMap<String,SecureMask> secureMask
对字段进行安全脱敏 -
showSql
Boolean showSql
执行时是否输出sql 日志 -
tableSharding
ShardingStrategyConfig tableSharding
-
translates
HashMap<String,Translate> translates
动态增加缓存翻译配置 -
values
Object[] values
参数值 -
where
String where
条件语句
-
-
类org.sagacity.sqltoy.model.inner.EntityUpdateExtend扩展Object实现可序列化
- serialVersionUID:
- -7224627356139617128L
-
序列化字段
-
blankToNull
Boolean blankToNull
空白字符转为null -
dataSource
DataSource dataSource
数据源 -
updateValues
IgnoreCaseLinkedMap<String,Object> updateValues
update 的字段名称和对应的值 -
values
Object[] values
条件参数值 -
where
String where
条件语句
-
-
类org.sagacity.sqltoy.model.inner.ParallQueryExtend扩展Object实现可序列化
- serialVersionUID:
- -988511746842317697L
-
类org.sagacity.sqltoy.model.inner.QueryExecutorExtend扩展Object实现可序列化
- serialVersionUID:
- 5753363607896705740L
-
序列化字段
-
blankToNull
boolean blankToNull
空白字符转为null,默认为true -
calculators
List calculators
-
colsFormat
LinkedHashMap<String,FormatModel> colsFormat
列格式模型 -
countSql
String countSql
自定义countSql -
dataSource
DataSource dataSource
特定数据库连接资源 -
dbSharding
ShardingStrategyConfig dbSharding
-
dbShardingParams
String[] dbShardingParams
-
dbShardingValues
Object[] dbShardingValues
-
entity
Serializable entity
实体对象 -
entityClass
Class entityClass
标记基于单表的简单操作 -
extracted
boolean extracted
是否已经提取过value值 -
fetchSize
int fetchSize
jdbc 查询时默认加载到内存中的记录数量 -1表示不设置,采用数据库默认的值 -
fieldsMap
Map<Class,IgnoreKeyCaseMap<String,String>> fieldsMap
-
hiberarchy
boolean hiberarchy
将结果封装成父子对象级联模式,one ->many 或 one-one -
hiberarchyClasses
Class[] hiberarchyClasses
体现层次的类型 -
humpMapLabel
Boolean humpMapLabel
结果为map时标题是否变成驼峰模式 -
linkModel
LinkModel linkModel
-
lockMode
LockMode lockMode
锁表 -
maxRows
int maxRows
jdbc查询最大返回记录数量 -
pageOptimize
PageOptimize pageOptimize
分页优化模型 -
paramFilters
List<ParamsFilter> paramFilters
动态设置filters -
paramsName
String[] paramsName
sql中参数名称 -
paramsValue
Object[] paramsValue
sql中参数名称对应的值 -
resultType
Type resultType
查询结果类型 -
rowCallbackHandler
RowCallbackHandler rowCallbackHandler
已过时。结果集反调处理(已经极少极少使用,可以废弃) -
secureMask
LinkedHashMap<String,SecureMask> secureMask
对字段进行安全脱敏 -
showSql
Boolean showSql
执行时是否输出sql 日志 -
sql
String sql
sql语句或sqlId -
tableShardingParams
String[] tableShardingParams
-
tableShardings
List<ShardingStrategyConfig> tableShardings
-
tableShardingValues
Object[] tableShardingValues
-
translates
HashMap<String,Translate> translates
动态增加缓存翻译配置 -
wrappedParamNames
boolean wrappedParamNames
是否构造过条件参数名称
-
-
类org.sagacity.sqltoy.model.inner.TranslateExtend扩展Object实现可序列化
- serialVersionUID:
- -2441421349247126021L
-
序列化字段
-
alias
String alias
字段别名 -
cache
String cache
对应的缓存名称 -
cacheType
String cacheType
缓存类型(一般为字典类别) -
column
String column
字段列 -
index
int index
默认第二列为value,第一列为key -
keyColumn
String keyColumn
用于entityQuery场景下指定具体作为key的列 -
keyTemplate
String keyTemplate
${key}_ZH_CN 用于组合匹配缓存 -
linkSign
String linkSign
重新连接的字符 -
splitRegex
String splitRegex
分隔表达式 -
uncached
String uncached
未被缓存的模板
-
-
-
程序包 org.sagacity.sqltoy.translate.model
-
类org.sagacity.sqltoy.translate.model.CacheCheckResult扩展Object实现可序列化
- serialVersionUID:
- 5068540349332451092L
-
类org.sagacity.sqltoy.translate.model.CheckerConfigModel扩展Object实现可序列化
- serialVersionUID:
- -8328516221738636079L
-
序列化字段
-
cache
String cache
针对哪个缓存进行更新 -
checkFrequency
String checkFrequency
检测频率 -
dataSource
String dataSource
数据源 -
hasInsideGroup
boolean hasInsideGroup
是否存在缓存内部分类 -
id
String id
-
increment
boolean increment
增量更新 -
method
String method
方法 -
password
String password
http 请求用户密码 -
properties
String[] properties
属性 -
service
String service
服务名称 -
sql
String sql
具体执行的sql语句 -
timeSections
List<TimeSection> timeSections
检测时间区间 -
type
String type
(sql\service\rest) -
url
String url
rest模式的url地址 -
username
String username
http 请求用户名
-
-
类org.sagacity.sqltoy.translate.model.DefaultConfig扩展Object实现可序列化
- serialVersionUID:
- 7793069400942116219L
-
序列化字段
-
defaultDiskSize
int defaultDiskSize
单位MB -
defaultHeap
int defaultHeap
内存中存放的数量(条) -
defaultKeepAlive
int defaultKeepAlive
默认缓存有效时长(秒) -
defaultOffHeap
int defaultOffHeap
单位MB -
deviationSeconds
int deviationSeconds
集群的节点时间差异(秒),默认偏离1秒,xml配置时无需设置为负数,这里是解析后的结果 -
diskStorePath
String diskStorePath
默认缓存超限后存放磁盘路径 -
useCache
boolean useCache
实际配置了translate.xml文件,表示启用了缓存翻译
-
-
类org.sagacity.sqltoy.translate.model.TimeSection扩展Object实现可序列化
- serialVersionUID:
- -159160743683268503L
-
序列化字段
-
end
int end
截止时间 -
intervalSeconds
int intervalSeconds
间隔时间 -
start
int start
开始时间HHmmss
-
-
类org.sagacity.sqltoy.translate.model.TranslateConfigModel扩展Object实现可序列化
- serialVersionUID:
- 4392516051742079330L
-
序列化字段
-
cache
String cache
对应的cacheName -
dataSource
String dataSource
数据库源 -
diskSize
int diskSize
存储磁盘的大小(MB) -
heap
int heap
内存中存放的数量(条) -
i18nIndexes
Set<Integer> i18nIndexes
-
i18nMap
Map<String,Integer> i18nMap
国际化 -
keepAlive
int keepAlive
过期时长:默认60分钟(负数表示不过期,永久有效) -
keyIndex
int keyIndex
转换成hash 的key,只有针对sql语句起作用 -
method
String method
service method -
offHeap
int offHeap
堆外內存(MB) -
password
String password
-
properties
String[] properties
参数属性名称 -
service
String service
自定义的ServiceBean -
sql
String sql
sql语句或sqltoy中的sqlId -
type
String type
sql\service\rest -
url
String url
rest 情况下的url地址 -
username
String username
rest 请求安全认证信息
-
-