类 DefaultConfigStore
java.lang.Object
org.anyline.data.param.init.DefaultConfigStore
- 所有已实现的接口:
Cloneable,ConfigStore
-
字段概要
字段修饰符和类型字段说明protected booleanprotected Catalogprotected ConfigChainprotected Classprotected Stringprotected LinkedHashMap<String,Column> protected Stringprotected Stringprotected Booleanprotected LinkedHashMap<String,Column> protected booleanprotected longprotected GroupStoreprotected DataHandlerprotected ConfigStoreprotected Highlightprotected booleanprotected Stringprotected KeyAdapter.KEY_CASEprotected longprotected longprotected Booleanprotected PageNaviprotected OrderStoreprotected Booleanprotected Constraintprotected longprotected LinkedHashMap<String,Config> protected Booleanprotected List<RunPrepare>protected Schemaprotected booleanprotected Tableprotected Boolean -
构造器概要
构造器构造器说明DefaultConfigStore(long first, long last) 按起止行数查询DefaultConfigStore(String... configs) DefaultConfigStore(List<String> configs) -
方法概要
修饰符和类型方法说明addHighlight(String... fields) addHighlight(String field, Highlight highlight) addPrimaryKey(Collection<String> pks) addStaticValue(Object value) aggregation(AggregationConfig... aggregations) aggregations(List<AggregationConfig> aggregations) 构造查询条件and(ConfigStore configs, boolean apart) 构造查询条件and(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件ands(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件autoCount(boolean auto) booleancascade()是否启用级联(如删除点相关的边)cascade(boolean cascade) 级联(如删除点相关的边)catalog()clone()columns()需要查询或更新的列设置城要查询的列static Comparecompare(int code) 设置配置项,用来覆盖ConfigTablecopyPageNavi(PageNavi navi) copyProperty(ConfigStore configs) 复制配置属性(不含查询条件)查询或操作的数据源datasource(String datasource) 设置查询或操作的数据源dest()查询或操作的目标(表,存储过程, sql等)设置查询或操作的目标(表, 存储过程, sql等)distinct()entityClass(Class clazz) excludes()设置不城要查询的列booleanexecute()execute(boolean execute) 提取部分查询条件getChain()getConfigValue(String var) getConfigValue(String var, Compare compare) getConfigValues(String var) getConfigValues(String var, Compare compare) longgetHighlight(String field) getJoin()longlonglong读取主键 主键为空时且容器有主键时,读取容器主键,否则返回默认主键getRunText(DataRuntime runtime, Boolean placeholder) getRunText(DataRuntime runtime, Boolean placeholder, Boolean unicode) 添加排序添加分组handler()handler(DataHandler handler) 设置流式(StreamHandlder)或异步(FinishHandler)的回调boolean自身是否有主键having()having(ConfigStore configs) init()boolean是否作为一个整体,不可分割,与其他条件合并时以()包围integrality(boolean integrality) booleanisEmpty()查询条件及配置项等所有内容是否为空boolean查询条件是否为空booleanisValid()keyCase()自增主键值 keyskeyHolders(String... keys) keys()虚拟主键,主要是用作为更新条件设置虚拟主键,主要是用作为更新条件limit(long offset, int rows) 起止行 下标从0开始booleanlite()lite(boolean lite) 快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算map(boolean empty) 属性转mapor(ConfigStore configs, boolean apart) 构造查询条件or(Compare.EMPTY_VALUE_SWITCH swt, String text) or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成or添加排序添加排序添加排序order(String column, Order.TYPE type) 添加排序order(String column, Order.TYPE type, boolean override) 添加排序添加排序ors(Compare.EMPTY_VALUE_SWITCH swt, String text) ors(Compare.EMPTY_VALUE_SWITCH swt, Config config) ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成oroverride()如果数据库中存在相同数据(根据overrideBy)是否覆盖 true或false会检测数据库 null不检测如果数据库中存在相同数据(根据columns,如果不指定则根据主键或唯一索引) 是否覆盖 true或false会检测数据库null不检测override(Boolean override, Constraint constraint) page(long page, int rows) 设置分页param(Compare.EMPTY_VALUE_SWITCH swt, String prefix, String var, Object value, boolean overCondition, boolean overValue) 占位符赋值params()根据占位符下标赋值,注意不需要提供下标,按顺序提供值即可
在批量操作或用?params(Collection values) parseConfig(String config) 解析查询配置参数prepare(RunPrepare... prepares) 执行查询或更新前 有前置命令 如创建临时表等prepares()removeConfig(String var) removeConfig(String var, Compare compare) removeConfig(Config config) runs()执行过的命令schema()scope(long first, long last) 起止行 下标从0开始voidsetChain(ConfigChain chain) voidsetExecuteTime(long time) setGroups(GroupStore groups) setHighlight(Highlight highlight) setJoin(Condition.JOIN type) 自动识别and|or 如果遇到ES比较复杂的条件可以主动设置voidsetLastExecuteTime(long time) voidsetLastPackageTime(long time) protected void把httpRequest中的参数存放到navisetOrders(OrderStore orders) voidsetPackageTime(long time) setPageNavi(PageNavi navi) voidsetPlaceholder(Boolean placeholder) setPrimaryKey(Collection<String> pks) 设置主键setTotalLazy(long ms) 开启记录总数懒加载voidsetUnicode(Boolean unicode) 在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))boolean是否支持返回自增主键值supportKeyHolder(boolean support) table()toString()values()根据占位符下标赋值从接口继承的方法 org.anyline.data.param.ConfigStore
addPrimaryKey, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, and, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, ands, between, between, between, between, between, closeAllSqlLog, columns, columns, compare, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, condition, DEFAULT_PRIMARY_KEY, DEFAULT_PRIMARY_KEY, endWith, endWith, endWith, endWith, endWith, endWithIgnoreCase, endWithIgnoreCase, endWithIgnoreCase, endWithIgnoreCase, endWithIgnoreCase, eq, eq, eq, eq, eq, eq, eq, eq, exists, exists, filter, findInSet, findInSet, findInSet, findInSet, findInSet, findInSetAnd, findInSetAnd, findInSetAnd, findInSetAnd, findInSetAnd, findInSetOr, findInSetOr, findInSetOr, findInSetOr, findInSetOr, ge, ge, ge, ge, ge, ge, ge, ge, getBoolean, getInt, getLong, getString, getString, groups, groups, gt, gt, gt, gt, gt, gt, gt, gt, having, IGNORE_GRAPH_QUERY_RESULT_TABLE, IGNORE_GRAPH_QUERY_RESULT_TABLE, IGNORE_GRAPH_QUERY_RESULT_TOP_KEY, IGNORE_GRAPH_QUERY_RESULT_TOP_KEY, in, in, in, in, in, in, in, in, in, in, IS_AUTO_CHECK_EL_VALUE, IS_AUTO_CHECK_EL_VALUE, IS_AUTO_CHECK_METADATA, IS_AUTO_CHECK_METADATA, IS_AUTO_MASK_OMIT, IS_AUTO_MASK_REPLACE, IS_CHECK_ALL_INSERT_COLUMN, IS_CHECK_ALL_INSERT_COLUMN, IS_CHECK_ALL_UPDATE_COLUMN, IS_CHECK_ALL_UPDATE_COLUMN, IS_CHECK_EMPTY_SET_METADATA, IS_CHECK_EMPTY_SET_METADATA, IS_ENABLE_PLACEHOLDER_REGEX_EXT, IS_ENABLE_PLACEHOLDER_REGEX_EXT, IS_ENABLE_SQL_DATATYPE_CONVERT, IS_ENABLE_SQL_DATATYPE_CONVERT, IS_INSERT_EMPTY_COLUMN, IS_INSERT_EMPTY_COLUMN, IS_INSERT_EMPTY_FIELD, IS_INSERT_EMPTY_FIELD, IS_INSERT_NULL_COLUMN, IS_INSERT_NULL_COLUMN, IS_INSERT_NULL_FIELD, IS_INSERT_NULL_FIELD, IS_LOG_BATCH_SQL_PARAM, IS_LOG_QUERY_RESULT, IS_LOG_QUERY_RESULT, IS_LOG_QUERY_RESULT_EXCLUDE_METADATA, IS_LOG_QUERY_RESULT_EXCLUDE_METADATA, IS_LOG_SLOW_SQL, IS_LOG_SLOW_SQL, IS_LOG_SQL, IS_LOG_SQL, IS_LOG_SQL_PARAM, IS_LOG_SQL_PARAM, IS_LOG_SQL_PARAM_WHEN_ERROR, IS_LOG_SQL_PARAM_WHEN_ERROR, IS_LOG_SQL_TIME, IS_LOG_SQL_TIME, IS_LOG_SQL_WARN, IS_LOG_SQL_WARN, IS_LOG_SQL_WHEN_ERROR, IS_LOG_SQL_WHEN_ERROR, IS_PRINT_EXCEPTION_STACK_TRACE, IS_PRINT_EXCEPTION_STACK_TRACE, IS_REPLACE_EMPTY_NULL, IS_REPLACE_EMPTY_NULL, IS_SQL_LOG_PLACEHOLDER, IS_SQL_LOG_PLACEHOLDER, IS_THROW_SQL_QUERY_EXCEPTION, IS_THROW_SQL_QUERY_EXCEPTION, IS_THROW_SQL_UPDATE_EXCEPTION, IS_THROW_SQL_UPDATE_EXCEPTION, IS_UPDATE_EMPTY_COLUMN, IS_UPDATE_EMPTY_COLUMN, IS_UPDATE_EMPTY_FIELD, IS_UPDATE_EMPTY_FIELD, IS_UPDATE_NULL_COLUMN, IS_UPDATE_NULL_COLUMN, IS_UPDATE_NULL_FIELD, IS_UPDATE_NULL_FIELD, isNotNull, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, isNull, json, json, jsonContains, jsonContains, jsonContains, jsonContains, jsonContains, jsonContainsAnd, jsonContainsAnd, jsonContainsAnd, jsonContainsAnd, jsonContainsAnd, jsonContainsOr, jsonContainsOr, jsonContainsOr, jsonContainsOr, jsonContainsOr, jsonContainsPathAnd, jsonContainsPathAnd, jsonContainsPathAnd, jsonContainsPathAnd, jsonContainsPathAnd, jsonContainsPathOr, jsonContainsPathOr, jsonContainsPathOr, jsonContainsPathOr, jsonContainsPathOr, jsonOverlaps, jsonOverlaps, jsonOverlaps, jsonOverlaps, jsonOverlaps, jsonSearch, jsonSearch, jsonSearch, jsonSearch, jsonSearch, le, le, le, le, le, le, le, le, like, like, like, like, like, likeIgnoreCase, likeIgnoreCase, likeIgnoreCase, likeIgnoreCase, likeIgnoreCase, likePrefix, likePrefix, likePrefix, likePrefix, likePrefix, likePrefixIgnoreCase, likePrefixIgnoreCase, likePrefixIgnoreCase, likePrefixIgnoreCase, likePrefixIgnoreCase, likes, likes, likesIgnoreCase, likesIgnoreCase, likeSuffix, likeSuffix, likeSuffix, likeSuffix, likeSuffix, likeSuffixIgnoreCase, likeSuffixIgnoreCase, likeSuffixIgnoreCase, likeSuffixIgnoreCase, likeSuffixIgnoreCase, limit, lt, lt, lt, lt, lt, lt, lt, lt, map, MASK_OMIT_COLUMN, MASK_OMIT_COLUMN, MASK_OMIT_ELLIPSIS, MASK_OMIT_LEFT, MASK_OMIT_LEFT, MASK_OMIT_RIGHT, MASK_OMIT_RIGHT, MASK_OMIT_VOL, MASK_OMIT_VOL, MASK_REPLACE_COLUMN, MASK_REPLACE_COLUMN, MASK_REPLACE_REGEX, MASK_REPLACE_REGEX, MASK_REPLACE_REPLACEMENT, MASK_REPLACE_REPLACEMENT, match, match, match, match, match, MERGE_GRAPH_QUERY_RESULT_TABLE, MERGE_GRAPH_QUERY_RESULT_TABLE, ne, ne, ne, ne, ne, notEndWith, notEndWith, notEndWith, notEndWith, notEndWith, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notLike, notLike, notLikePrefix, notLikePrefix, notLikePrefix, notLikePrefix, notLikePrefix, notLikeSuffix, notLikeSuffix, notLikeSuffix, notLikeSuffix, notLikeSuffix, notNull, notNull, notNull, notNull, notRegex, notRegex, notRegex, notRegex, notRegex, notStartWith, notStartWith, notStartWith, notStartWith, notStartWith, openAllSqlLog, or, or, or, or, or, or, or, or, or, or, or, or, or, or, or, or, or, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, ors, param, param, param, param, param, regex, regex, regex, regex, regex, remove, setPrimaryKey, SLOW_SQL_MILLIS, SLOW_SQL_MILLIS, SQL_QUERY_TIMEOUT, SQL_QUERY_TIMEOUT, SQL_UPDATE_TIMEOUT, SQL_UPDATE_TIMEOUT, startWith, startWith, startWith, startWith, startWith, startWithIgnoreCase, startWithIgnoreCase, startWithIgnoreCase, startWithIgnoreCase, startWithIgnoreCase
-
字段详细资料
-
clazz
-
handler
-
chain
-
orders
-
groups
-
having
-
distinct
-
columns
-
excludes
-
values
-
params
-
cascade
protected boolean cascade -
supportKeyHolder
protected boolean supportKeyHolder -
keyHolders
-
prepares
-
lite
-
override
-
overrideByColumns
-
overrideByConstraint
-
-
unicode
-
placeholder
-
integrality
protected boolean integrality -
runs
-
kc
-
execute
protected boolean execute -
datasource
-
dest
-
catalog
-
schema
-
table
-
join
-
highlight
-
collapse
-
configs
-
executeTime
protected long executeTime -
lastExecuteTime
protected long lastExecuteTime -
packageTime
protected long packageTime -
lastPackageTime
protected long lastPackageTime
-
-
构造器详细资料
-
DefaultConfigStore
-
DefaultConfigStore
public DefaultConfigStore(long first, long last) 按起止行数查询- 参数:
first- 起last- 止
-
DefaultConfigStore
-
-
方法详细资料
-
map
从接口复制的说明:ConfigStore属性转map- 指定者:
map在接口中ConfigStore- 参数:
empty- 是否保留空值属性- 返回:
- DataRow
-
getRunText
- 指定者:
getRunText在接口中ConfigStore
-
getRunText
- 指定者:
getRunText在接口中ConfigStore
-
table
- 指定者:
table在接口中ConfigStore
-
schema
- 指定者:
schema在接口中ConfigStore
-
catalog
- 指定者:
catalog在接口中ConfigStore
-
tableName
- 指定者:
tableName在接口中ConfigStore
-
schemaName
- 指定者:
schemaName在接口中ConfigStore
-
catalogName
- 指定者:
catalogName在接口中ConfigStore
-
table
- 指定者:
table在接口中ConfigStore
-
schema
- 指定者:
schema在接口中ConfigStore
-
catalog
- 指定者:
catalog在接口中ConfigStore
-
table
- 指定者:
table在接口中ConfigStore
-
schema
- 指定者:
schema在接口中ConfigStore
-
catalog
- 指定者:
catalog在接口中ConfigStore
-
datasource
设置查询或操作的数据源- 指定者:
datasource在接口中ConfigStore- 参数:
datasource- 查询或操作的数据源- 返回:
- ConfigStore
-
datasource
查询或操作的数据源- 指定者:
datasource在接口中ConfigStore- 返回:
- String
-
dest
设置查询或操作的目标(表, 存储过程, sql等)- 指定者:
dest在接口中ConfigStore- 参数:
dest- 查询或操作的目标- 返回:
- ConfigStore
-
setJoin
从接口复制的说明:ConfigStore自动识别and|or 如果遇到ES比较复杂的条件可以主动设置- 指定者:
setJoin在接口中ConfigStore- 参数:
type- and(must) or(should) must_not filter- 返回:
- this
-
getJoin
- 指定者:
getJoin在接口中ConfigStore
-
dest
查询或操作的目标(表,存储过程, sql等)- 指定者:
dest在接口中ConfigStore- 返回:
- String
-
getHighlight
- 指定者:
getHighlight在接口中ConfigStore
-
getHighlight
- 指定者:
getHighlight在接口中ConfigStore
-
addHighlight
- 指定者:
addHighlight在接口中ConfigStore
-
setHighlight
- 指定者:
setHighlight在接口中ConfigStore
-
addHighlight
- 指定者:
addHighlight在接口中ConfigStore
-
copyProperty
从接口复制的说明:ConfigStore复制配置属性(不含查询条件)- 指定者:
copyProperty在接口中ConfigStore- 参数:
configs- ConfigStore- 返回:
- ConfigStore
-
keys
设置虚拟主键,主要是用作为更新条件- 指定者:
keys在接口中ConfigStore- 参数:
keys- keys- 返回:
- this
-
keys
虚拟主键,主要是用作为更新条件- 指定者:
keys在接口中ConfigStore- 返回:
- List
-
init
-
toString
- 指定者:
toString在接口中ConfigStore- 覆盖:
toString在类中Object
-
execute
public boolean execute()- 指定者:
execute在接口中ConfigStore
-
execute
- 指定者:
execute在接口中ConfigStore
-
parseConfig
解析查询配置参数- 指定者:
parseConfig在接口中ConfigStore- 参数:
config- configs "COMPANY_CD:company","NM:nmEn% | NM:nmCn%","STATUS_VALUE:[status]" "NM:nmEn|NM:nmCn" 生成 NM={nmEn} OR NM = {nmCn} "NM:nmEn|nmCn" 生成 NM={nmEn} OR NM = {nmCn} nmEn为空时当前条件不生效 "NM:nmEn|{1}" "NM:nmEn:nmCn" 根据参数值生成NM = {nmEn}或生成 NM={nmCn}- 返回:
- Config
-
override
从接口复制的说明:ConfigStore如果数据库中存在相同数据(根据overrideBy)是否覆盖 true或false会检测数据库 null不检测- 指定者:
override在接口中ConfigStore- 返回:
- Boolean
-
overrideByColumns
- 指定者:
overrideByColumns在接口中ConfigStore
-
overrideByConstraint
- 指定者:
overrideByConstraint在接口中ConfigStore
-
override
从接口复制的说明:ConfigStore如果数据库中存在相同数据(根据columns,如果不指定则根据主键或唯一索引) 是否覆盖 true或false会检测数据库null不检测- 指定者:
override在接口中ConfigStore- 参数:
override- booleancolumns- 根据 columns列判断重复- 返回:
- ConfigStore
-
override
- 指定者:
override在接口中ConfigStore
-
lite
快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算- 指定者:
lite在接口中ConfigStore- 参数:
lite- 是否- 返回:
- this
-
lite
public boolean lite()- 指定者:
lite在接口中ConfigStore
-
handler
- 指定者:
handler在接口中ConfigStore
-
handler
从接口复制的说明:ConfigStore设置流式(StreamHandlder)或异步(FinishHandler)的回调- 指定者:
handler在接口中ConfigStore- 参数:
handler- StreamHandler- 返回:
- ConfigStore
-
aggregations
- 指定者:
aggregations在接口中ConfigStore
-
aggregation
- 指定者:
aggregation在接口中ConfigStore
-
aggregations
- 指定者:
aggregations在接口中ConfigStore
-
entityClass
- 指定者:
entityClass在接口中ConfigStore
-
entityClass
- 指定者:
entityClass在接口中ConfigStore
-
scope
起止行 下标从0开始- 指定者:
scope在接口中ConfigStore- 参数:
first- 起last- 止- 返回:
- ConfigStore
-
limit
起止行 下标从0开始- 指定者:
limit在接口中ConfigStore- 参数:
offset- 指定第一个返回记录行的偏移量(即从哪一行开始返回) 初始行的偏移量为0rows- 返回具体行数- 返回:
- ConfigStore
-
autoCount
- 指定者:
autoCount在接口中ConfigStore
-
autoCount
- 指定者:
autoCount在接口中ConfigStore
-
integrality
public boolean integrality()从接口复制的说明:ConfigStore是否作为一个整体,不可分割,与其他条件合并时以()包围- 指定者:
integrality在接口中ConfigStore- 返回:
- boolean
-
integrality
- 指定者:
integrality在接口中ConfigStore
-
runs
从接口复制的说明:ConfigStore执行过的命令- 指定者:
runs在接口中ConfigStore- 返回:
- List
-
runs
- 指定者:
runs在接口中ConfigStore
-
add
- 指定者:
add在接口中ConfigStore
-
page
设置分页- 指定者:
page在接口中ConfigStore- 参数:
page- 第page页 下标从1开始rows- 每页rows行- 返回:
- ConfigStore
-
getPlaceholder
- 指定者:
getPlaceholder在接口中ConfigStore
-
setPlaceholder
- 指定者:
setPlaceholder在接口中ConfigStore
-
getUnicode
- 指定者:
getUnicode在接口中ConfigStore
-
setUnicode
- 指定者:
setUnicode在接口中ConfigStore
-
addPrimaryKey
- 指定者:
addPrimaryKey在接口中ConfigStore
-
setPrimaryKey
设置主键- 指定者:
setPrimaryKey在接口中ConfigStore- 参数:
pks- keys- 返回:
- DataRow
-
getPrimaryColumns
- 指定者:
getPrimaryColumns在接口中ConfigStore
-
getPrimaryKeys
读取主键 主键为空时且容器有主键时,读取容器主键,否则返回默认主键- 指定者:
getPrimaryKeys在接口中ConfigStore- 返回:
- List
-
getPrimaryKey
- 指定者:
getPrimaryKey在接口中ConfigStore
-
hasSelfPrimaryKeys
public boolean hasSelfPrimaryKeys()自身是否有主键- 指定者:
hasSelfPrimaryKeys在接口中ConfigStore- 返回:
- boolean
-
and
从接口复制的说明:ConfigStore构造查询条件- 指定者:
and在接口中ConfigStore- 参数:
swt- 遇到空值处理方式text- 可以是一条原生的SQL查询条件- 返回:
- ConfigStore
-
params
- 指定者:
params在接口中ConfigStore
-
param
public ConfigStore param(Compare.EMPTY_VALUE_SWITCH swt, String prefix, String var, Object value, boolean overCondition, boolean overValue) 占位符赋值- 指定者:
param在接口中ConfigStore- 参数:
swt- 遇到空值处理方式prefix- 表别名或XML中查询条件的ID或表名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
and
public ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 指定者:
and在接口中ConfigStore- 参数:
swt- 遇到空值处理方式prefix- 表别名或XML中查询条件的ID或表名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果var以+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用 注意会有++a.id的形式value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
and
从接口复制的说明:ConfigStore构造查询条件- 指定者:
and在接口中ConfigStore- 参数:
conf- 查询条件- 返回:
- ConfigStore
-
and
从接口复制的说明:ConfigStore构造查询条件- 指定者:
and在接口中ConfigStore- 参数:
configs- ConfigStoreapart- 是否需要跟前面的条件保持隔离
true:隔离,前面所有条件加到(),与configs合成一个新的list
false:不隔离,configs合并成原来的list中- 返回:
- ConfigStore
-
ands
- 指定者:
ands在接口中ConfigStore
-
ands
从接口复制的说明:ConfigStore构造查询条件- 指定者:
ands在接口中ConfigStore- 参数:
swt- 遇到空值处理方式text- 可以是一条原生的SQL查询条件- 返回:
- ConfigStore
-
ands
public ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 从接口复制的说明:ConfigStore构造查询条件- 指定者:
ands在接口中ConfigStore- 参数:
swt- 遇到空值处理方式compare- 匹配方式prefix- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
getChain
-
setChain
-
params
根据占位符下标赋值,注意不需要提供下标,按顺序提供值即可
在批量操作或用?占位时才需要用到,因为没有key只参按下标赋值
大分部情况下调用param()就可以param()可以接收集合类的参数值- 指定者:
params在接口中ConfigStore- 参数:
values- values- 返回:
- this
-
params
- 指定者:
params在接口中ConfigStore
-
params
- 指定者:
params在接口中ConfigStore
-
values
从接口复制的说明:ConfigStore根据占位符下标赋值- 指定者:
values在接口中ConfigStore- 返回:
- list
-
or
从接口复制的说明:ConfigStore构造查询条件- 指定者:
or在接口中ConfigStore- 参数:
configs- ConfigStoreapart- 是否需要跟前面的条件保持隔离
true:隔离,前面所有条件加到(),与configs合成一个新的list
false:不隔离,configs合并成原来的list中- 返回:
- ConfigStore
-
or
- 指定者:
or在接口中ConfigStore
-
or
- 指定者:
or在接口中ConfigStore
-
ors
- 指定者:
ors在接口中ConfigStore
-
ors
- 指定者:
ors在接口中ConfigStore
-
or
public ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 从接口复制的说明:ConfigStore与ConfigStore中前一个条件合成or- 指定者:
or在接口中ConfigStore- 参数:
swt- 遇到空值处理方式compare- 匹配方式prefix- 自定义查询条件ID或表名表别名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
ors
public ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 从接口复制的说明:ConfigStore与ConfigStore中当前所有的条件合成or- 指定者:
ors在接口中ConfigStore- 参数:
swt- 遇到空值处理方式compare- 匹配方式prefix- 自定义查询条件ID或表名表别名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
getConfigChain
- 指定者:
getConfigChain在接口中ConfigStore
-
isEmptyCondition
public boolean isEmptyCondition()从接口复制的说明:ConfigStore查询条件是否为空- 指定者:
isEmptyCondition在接口中ConfigStore- 返回:
- boolean
-
isEmpty
public boolean isEmpty()从接口复制的说明:ConfigStore查询条件及配置项等所有内容是否为空- 指定者:
isEmpty在接口中ConfigStore- 返回:
- boolean
-
order
添加排序- 指定者:
order在接口中ConfigStore- 参数:
order- orderoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
- 指定者:
order在接口中ConfigStore
-
order
从接口复制的说明:ConfigStore添加排序- 指定者:
order在接口中ConfigStore- 参数:
column- 列名type- ASC|DESCoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
从接口复制的说明:ConfigStore添加排序- 指定者:
order在接口中ConfigStore- 参数:
column- 列名type- ASC|DESC- 返回:
- ConfigStore
-
order
从接口复制的说明:ConfigStore添加排序- 指定者:
order在接口中ConfigStore- 参数:
column- 列名type- ASC|DESCoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
从接口复制的说明:ConfigStore添加排序- 指定者:
order在接口中ConfigStore- 参数:
column- 列名type- ASC|DESC- 返回:
- ConfigStore
-
order
从接口复制的说明:ConfigStore添加排序- 指定者:
order在接口中ConfigStore- 参数:
order- 列名+排序方式override- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
- 指定者:
order在接口中ConfigStore- 参数:
order- 列名或原生的SQL 如 ID 或 ID ASC 或 ORDER BY CONVERT(id USING gbk) COLLATE gbk_chinese_ci DESC- 返回:
- ConfigStore
-
getOrders
- 指定者:
getOrders在接口中ConfigStore
-
setOrders
- 指定者:
setOrders在接口中ConfigStore
-
group
添加分组- 指定者:
group在接口中ConfigStore- 参数:
group- group- 返回:
- ConfigStore
-
group
从接口复制的说明:ConfigStore添加排序- 指定者:
group在接口中ConfigStore- 参数:
column- 列名- 返回:
- ConfigStore
-
getGroups
- 指定者:
getGroups在接口中ConfigStore
-
setGroups
- 指定者:
setGroups在接口中ConfigStore
-
having
- 指定者:
having在接口中ConfigStore
-
having
- 指定者:
having在接口中ConfigStore
-
having
- 指定者:
having在接口中ConfigStore
-
having
- 指定者:
having在接口中ConfigStore
-
having
- 指定者:
having在接口中ConfigStore
-
getConfig
- 指定者:
getConfig在接口中ConfigStore
-
getConfigs
- 指定者:
getConfigs在接口中ConfigStore
-
removeConfig
- 指定者:
removeConfig在接口中ConfigStore
-
removeConfig
- 指定者:
removeConfig在接口中ConfigStore
-
getConfigValues
- 指定者:
getConfigValues在接口中ConfigStore
-
getConfigValue
- 指定者:
getConfigValue在接口中ConfigStore
-
getConfig
- 指定者:
getConfig在接口中ConfigStore
-
removeConfig
- 指定者:
removeConfig在接口中ConfigStore
-
getConfigValues
- 指定者:
getConfigValues在接口中ConfigStore
-
getConfigValue
- 指定者:
getConfigValue在接口中ConfigStore
-
setTotalLazy
开启记录总数懒加载- 指定者:
setTotalLazy在接口中ConfigStore- 参数:
ms- 缓存有效期(毫秒)- 返回:
- ConfigStore
-
setValue
从接口复制的说明:ConfigStore在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))- 指定者:
setValue在接口中ConfigStore- 参数:
values- 值- 返回:
- ConfigStore
-
columns
设置城要查询的列- 指定者:
columns在接口中ConfigStore- 参数:
columns- 需要查询的列- 返回:
- ConfigStore
-
columns
- 指定者:
columns在接口中ConfigStore
-
columns
从接口复制的说明:ConfigStore需要查询或更新的列- 指定者:
columns在接口中ConfigStore- 返回:
-
getColumns
- 指定者:
getColumns在接口中ConfigStore
-
distinct
- 指定者:
distinct在接口中ConfigStore
-
distinct
- 指定者:
distinct在接口中ConfigStore
-
prepare
执行查询或更新前 有前置命令 如创建临时表等- 指定者:
prepare在接口中ConfigStore- 参数:
prepares- RunPrepare- 返回:
- this
-
prepares
- 指定者:
prepares在接口中ConfigStore
-
excludes
从接口复制的说明:ConfigStore设置不城要查询的列- 指定者:
excludes在接口中ConfigStore- 参数:
columns- 需要查询的列- 返回:
- ConfigStore
-
excludes
- 指定者:
excludes在接口中ConfigStore
-
excludes
- 指定者:
excludes在接口中ConfigStore
-
getExcludes
- 指定者:
getExcludes在接口中ConfigStore
-
cascade
级联(如删除点相关的边)- 指定者:
cascade在接口中ConfigStore- 参数:
cascade- 是否开启- 返回:
- ConfigStore
-
cascade
public boolean cascade()从接口复制的说明:ConfigStore是否启用级联(如删除点相关的边)- 指定者:
cascade在接口中ConfigStore- 返回:
- boolean
-
supportKeyHolder
public boolean supportKeyHolder()是否支持返回自增主键值- 指定者:
supportKeyHolder在接口中ConfigStore- 返回:
- boolean
-
supportKeyHolder
- 指定者:
supportKeyHolder在接口中ConfigStore
-
keyHolders
自增主键值 keys- 指定者:
keyHolders在接口中ConfigStore- 返回:
- keys
-
keyHolders
- 指定者:
keyHolders在接口中ConfigStore
-
isValid
public boolean isValid()- 指定者:
isValid在接口中ConfigStore
-
condition
-
condition
-
compare
-
addStaticValue
- 指定者:
addStaticValue在接口中ConfigStore
-
getStaticValues
- 指定者:
getStaticValues在接口中ConfigStore
-
keyCase
- 指定者:
keyCase在接口中ConfigStore
-
keyCase
- 指定者:
keyCase在接口中ConfigStore
-
config
从接口复制的说明:ConfigStore设置配置项,用来覆盖ConfigTable- 指定者:
config在接口中ConfigStore- 参数:
key- keyvalue- value- 返回:
- this
-
config
- 指定者:
config在接口中ConfigStore
-
setExecuteTime
public void setExecuteTime(long time) - 指定者:
setExecuteTime在接口中ConfigStore
-
getExecuteTime
public long getExecuteTime()- 指定者:
getExecuteTime在接口中ConfigStore
-
setLastExecuteTime
public void setLastExecuteTime(long time) - 指定者:
setLastExecuteTime在接口中ConfigStore
-
getLastExecuteTime
public long getLastExecuteTime()- 指定者:
getLastExecuteTime在接口中ConfigStore
-
setPackageTime
public void setPackageTime(long time) - 指定者:
setPackageTime在接口中ConfigStore
-
getPackageTime
public long getPackageTime()- 指定者:
getPackageTime在接口中ConfigStore
-
setLastPackageTime
public void setLastPackageTime(long time) - 指定者:
setLastPackageTime在接口中ConfigStore
-
getLastPackageTime
public long getLastPackageTime()- 指定者:
getLastPackageTime在接口中ConfigStore
-
fetch
从接口复制的说明:ConfigStore提取部分查询条件- 指定者:
fetch在接口中ConfigStore- 参数:
keys- keys- 返回:
- ConfigStore
-
clone
- 指定者:
clone在接口中ConfigStore- 覆盖:
clone在类中Object
-