接口 ConfigStore
- 所有超级接口:
Cloneable
- 所有已知实现类:
DefaultConfigStore
查询参数
- 作者:
- zh
-
方法概要
修饰符和类型方法说明addHighlight(String... fields) addHighlight(String field, Highlight highlight) default ConfigStoreaddPrimaryKey(String... pks) 添加主键addPrimaryKey(Collection<String> pks) addStaticValue(Object value) aggregation(AggregationConfig... aggregations) aggregations(List<AggregationConfig> aggregations) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStore构造查询条件default ConfigStoreand(ConfigStore config) and(ConfigStore config, boolean apart) 构造查询条件and(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 构造查询条件default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, String var, Object... values) default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) default ConfigStoreand(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStore构造查询条件and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreands(ConfigStore config) ands(Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 构造查询条件
最初ands是为了生成in条件,但and已经可以识别集合条件自动生成IN,
2023-10-21后
ands改成了与ors类似的效果,即把之前所有的条件放在一个()内,然后and thisdefault ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object... values) default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) default ConfigStoreands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStore构造查询条件ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreands(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) autoCount(boolean auto) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorebetween(Compare.EMPTY_VALUE_SWITCH swt, String var, Object min, Object max, boolean overCondition, boolean overValue) default ConfigStorebetween(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object min, Object max, boolean overCondition, boolean overValue) booleancascade()是否启用级联(如删除点相关的边)cascade(boolean cascade) 级联(如删除点相关的边)catalog()clone()default ConfigStore关闭所有SQL日志columns()需要查询或更新的列设置需要查询或更新的列default ConfigStoredefault ConfigStoredefault Comparedefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorecondition(String join, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStore构造查询条件default ConfigStorecondition(String join, ConfigStore config) default ConfigStorecondition(String join, ConfigStore config, boolean apart) 构造查询条件default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, String text) 构造查询条件default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStore构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStore构造查询条件default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件default ConfigStorecondition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件default ConfigStoredefault ConfigStorecondition(String join, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStorecondition(String join, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 设置配置项,用来覆盖ConfigTablecopyPageNavi(PageNavi navi) copyProperty(ConfigStore configs) 复制配置属性(不含查询条件)查询或操作的数据源datasource(String datasource) 设置查询或操作的数据源default Stringdefault ConfigStoreDEFAULT_PRIMARY_KEY(String value) static StringDEFAULT_PRIMARY_KEY(ConfigStore configs) dest()查询或操作的目标(表,存储过程,sql等)设置查询或操作的目标(表,存储过程,sql等)distinct()default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreendWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreendWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreendWithIgnoreCase(String var, Object value) default ConfigStoreendWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreendWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreendWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreendWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) entityClass(Class clazz) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreeq(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreeq(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreeq(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreeq(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) excludes()设置不城要查询的列booleanexecute()execute(boolean execute) default ConfigStoreexists(RunPrepare prepare) default ConfigStoreexists(Compare.EMPTY_VALUE_SWITCH swt, RunPrepare prepare) 提取部分查询条件default voidfilter(LinkedHashMap<String, Column> metadatas) 过滤不存在的列default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorefindInSet(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSet(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetAnd(String var, Object value) default ConfigStorefindInSetAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetOr(String var, Object value) default ConfigStorefindInSetOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorefindInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorege(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStorege(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorege(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStorege(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default booleangetBoolean(String key, boolean def) getConfigValue(String var) getConfigValue(String var, Compare compare) getConfigValues(String var) getConfigValues(String var, Compare compare) longgetHighlight(String field) default intgetJoin()longlongdefault longlong读取主键 主键为空时且容器有主键时,读取容器主键,否则返回默认主键default StringgetRunText(DataRuntime runtime, Boolean placeholder) getRunText(DataRuntime runtime, Boolean placeholder, Boolean unicode) default Stringdefault String添加排序添加分组default GroupStoregroups()default ConfigStoregroups(GroupStore groups) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoregt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoregt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoregt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoregt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) handler()handler(DataHandler handler) 设置流式(StreamHandlder)或异步(FinishHandler)的回调boolean自身是否有主键having()default ConfigStorehaving(ConfigStore configs) default intdefault ConfigStorestatic intdefault intdefault ConfigStorestatic intdefault ConfigStoredefault ConfigStoreindefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorein(String var, RunPrepare prepare) default ConfigStorein(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStorein(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorein(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStorein(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) boolean是否作为一个整体,不可分割,与其他条件合并时以()包围integrality(boolean integrality) default boolean是否自动检测el值default ConfigStoreIS_AUTO_CHECK_EL_VALUE(boolean value) static booleanIS_AUTO_CHECK_EL_VALUE(ConfigStore configs) default booleaninsert update 时是否自动检测表结构(删除表中不存在的属性)default ConfigStoreIS_AUTO_CHECK_METADATA(boolean value) static booleanIS_AUTO_CHECK_METADATA(ConfigStore configs) insert update 时是否自动检测表结构(删除表中不存在的属性)default booleanstatic booleanIS_AUTO_MASK_OMIT(ConfigStore configs) default booleanstatic booleanIS_AUTO_MASK_REPLACE(ConfigStore configs) default booleandefault ConfigStoreIS_CHECK_ALL_INSERT_COLUMN(boolean s) static booleanIS_CHECK_ALL_INSERT_COLUMN(ConfigStore configs) default booleandefault ConfigStoreIS_CHECK_ALL_UPDATE_COLUMN(boolean s) static booleanIS_CHECK_ALL_UPDATE_COLUMN(ConfigStore configs) default boolean查询返回空DataSet时,是否检测元数据信息default ConfigStoreIS_CHECK_EMPTY_SET_METADATA(boolean value) static booleanIS_CHECK_EMPTY_SET_METADATA(ConfigStore configs) 查询返回空DataSet时,是否检测元数据信息default booleandefault ConfigStoreIS_ENABLE_PLACEHOLDER_REGEX_EXT(boolean s) static booleandefault booleandefault ConfigStoreIS_ENABLE_SQL_DATATYPE_CONVERT(boolean s) static booleandefault booleanDataRow是否插入空值的列default ConfigStoreIS_INSERT_EMPTY_COLUMN(boolean value) static booleanIS_INSERT_EMPTY_COLUMN(ConfigStore configs) default booleanEntity是否更新空值的属性default ConfigStoreIS_INSERT_EMPTY_FIELD(boolean value) static booleanIS_INSERT_EMPTY_FIELD(ConfigStore configs) default booleanDataRow是否插入nul值的列default ConfigStoreIS_INSERT_NULL_COLUMN(boolean value) static booleanIS_INSERT_NULL_COLUMN(ConfigStore configs) default booleanEntity是否更新nul值的属性default ConfigStoreIS_INSERT_NULL_FIELD(boolean value) static booleanIS_INSERT_NULL_FIELD(ConfigStore configs) default booleanstatic booleanIS_LOG_BATCH_SQL_PARAM(ConfigStore configs) 是否输出SQL参数日志default boolean查询结果输出日志default ConfigStoreIS_LOG_QUERY_RESULT(boolean value) static booleanIS_LOG_QUERY_RESULT(ConfigStore configs) 查询结果输出日志default boolean查询结果输出日志时 是否过滤元数据查询结果default ConfigStoreIS_LOG_QUERY_RESULT_EXCLUDE_METADATA(boolean value) static boolean查询结果输出日志时 是否过滤元数据查询结果default boolean是否显示慢SQLdefault ConfigStoreIS_LOG_SLOW_SQL(boolean value) static booleanIS_LOG_SLOW_SQL(ConfigStore configs) 是否输出慢SQL日志default boolean是否显示SQLdefault ConfigStoreIS_LOG_SQL(boolean value) static booleanIS_LOG_SQL(ConfigStore configs) 是否输出SQL日志default boolean是否显示SQL参数(占位符模式下有效)default ConfigStoreIS_LOG_SQL_PARAM(boolean value) static booleanIS_LOG_SQL_PARAM(ConfigStore configs) 是否输出SQL参数日志(占位符模式下有效)default boolean异常时是否显示SQL参数(占位符模式下有效)default ConfigStoreIS_LOG_SQL_PARAM_WHEN_ERROR(boolean value) static booleanIS_LOG_SQL_PARAM_WHEN_ERROR(ConfigStore configs) 异常时是否输出SQL参数日志(占位符模式下有效)default boolean是否显示SQL执行时间default ConfigStoreIS_LOG_SQL_TIME(boolean value) static booleanIS_LOG_SQL_TIME(ConfigStore configs) 是否显示SQL耗时default booleandefault ConfigStoreIS_LOG_SQL_WARN(boolean value) static booleanIS_LOG_SQL_WARN(ConfigStore configs) default boolean异常时是否显示SQLdefault ConfigStoreIS_LOG_SQL_WHEN_ERROR(boolean value) static booleanIS_LOG_SQL_WHEN_ERROR(ConfigStore configs) 异常时是否输出SQL日志default boolean是否输出异常堆栈日志default ConfigStoreIS_PRINT_EXCEPTION_STACK_TRACE(boolean value) static boolean是否输出异常堆栈日志default booleandefault ConfigStoreIS_REPLACE_EMPTY_NULL(boolean value) static booleanIS_REPLACE_EMPTY_NULL(ConfigStore configs) default booleanSQL日志是否启用占位符default ConfigStoreIS_SQL_LOG_PLACEHOLDER(boolean value) static booleanIS_SQL_LOG_PLACEHOLDER(ConfigStore configs) default boolean是否抛出查询异常default ConfigStoreIS_THROW_SQL_QUERY_EXCEPTION(boolean value) static booleanIS_THROW_SQL_QUERY_EXCEPTION(ConfigStore configs) 是否抛出查询异常default boolean是否抛出更新异常default ConfigStoreIS_THROW_SQL_UPDATE_EXCEPTION(boolean value) static booleanIS_THROW_SQL_UPDATE_EXCEPTION(ConfigStore configs) 是否抛出更新异常default booleanDataRow是否更新空值的列default ConfigStoreIS_UPDATE_EMPTY_COLUMN(boolean value) static booleanIS_UPDATE_EMPTY_COLUMN(ConfigStore configs) default booleanEntity是否更新空值的属性default ConfigStoreIS_UPDATE_EMPTY_FIELD(boolean value) static booleanIS_UPDATE_EMPTY_FIELD(ConfigStore configs) default booleanDataRow是否更新nul值的列(针对DataRow)default ConfigStoreIS_UPDATE_NULL_COLUMN(boolean value) static booleanIS_UPDATE_NULL_COLUMN(ConfigStore configs) default booleanEntity是否更新nul值的属性(针对Entity)default ConfigStoreIS_UPDATE_NULL_FIELD(boolean value) static booleanIS_UPDATE_NULL_FIELD(ConfigStore configs) booleanisEmpty()查询条件及配置项等所有内容是否为空boolean查询条件是否为空default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorebooleanisValid()default Stringjson()default Stringjson(boolean empty) default ConfigStorejsonContains(String var, Object value) default ConfigStorejsonContains(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContains(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContains(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContains(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsAnd(String var, Object value) default ConfigStorejsonContainsAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsOr(String var, Object value) default ConfigStorejsonContainsOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathAnd(String var, Object value) default ConfigStorejsonContainsPathAnd(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathAnd(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathOr(String var, Object value) default ConfigStorejsonContainsPathOr(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathOr(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonOverlaps(String var, Object value) default ConfigStorejsonOverlaps(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonOverlaps(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonSearch(String var, Object value) default ConfigStorejsonSearch(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonSearch(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorejsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) keyCase()自增主键值 keyskeyHolders(String... keys) keys()虚拟主键,主要是用作为更新条件设置虚拟主键,主要是用作为更新条件default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorele(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStorele(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorele(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStorele(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorelike(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelike(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeIgnoreCase(String var, Object value) default ConfigStorelikeIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefix(String var, Object value) default ConfigStorelikePrefix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefixIgnoreCase(String var, Object value) default ConfigStorelikePrefixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStorelikes(Compare.EMPTY_VALUE_SWITCH swt, String value) default ConfigStorelikesIgnoreCase(String value) default ConfigStorelikesIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String value) default ConfigStorelikeSuffix(String var, Object value) default ConfigStorelikeSuffix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffixIgnoreCase(String var, Object value) default ConfigStorelikeSuffixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelikeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelimit(int rows) limit(long offset, int rows) 起止行 下标从0开始booleanlite()lite(boolean lite) 快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorelt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStorelt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorelt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStorelt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default DataRowmap()map(boolean empty) 属性转mapdefault Stringdefault ConfigStoreMASK_OMIT_COLUMN(String value) static StringMASK_OMIT_COLUMN(ConfigStore configs) default Stringstatic StringMASK_OMIT_ELLIPSIS(ConfigStore configs) default intdefault ConfigStoreMASK_OMIT_LEFT(int value) static intMASK_OMIT_LEFT(ConfigStore configs) default intdefault ConfigStoreMASK_OMIT_RIGHT(int value) static intMASK_OMIT_RIGHT(ConfigStore configs) default intdefault ConfigStoreMASK_OMIT_VOL(int value) static intMASK_OMIT_VOL(ConfigStore configs) default Stringdefault ConfigStoreMASK_REPLACE_COLUMN(String value) static StringMASK_REPLACE_COLUMN(ConfigStore configs) default Stringdefault ConfigStoreMASK_REPLACE_REGEX(String value) static StringMASK_REPLACE_REGEX(ConfigStore configs) default Stringdefault ConfigStoreMASK_REPLACE_REPLACEMENT(String value) static StringMASK_REPLACE_REPLACEMENT(ConfigStore configs) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorematch(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorematch(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default intdefault ConfigStorestatic intdefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorene(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorene(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotEndWith(String var, Object value) default ConfigStorenotEndWith(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotEndWith(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotEndWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotEndWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorenotIn(String var, RunPrepare prepare) default ConfigStorenotIn(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotIn(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorenotLike(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLike(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikePrefix(String var, Object value) default ConfigStorenotLikePrefix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikeSuffix(String var, Object value) default ConfigStorenotLikeSuffix(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorenotRegex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotRegex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotStartWith(String var, Object value) default ConfigStorenotStartWith(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotStartWith(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotStartWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorenotStartWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStore开启所有SQL日志default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreor(ConfigStore config) or(ConfigStore config, boolean apart) 构造查询条件or(Compare.EMPTY_VALUE_SWITCH swt, String text) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成or
这里不指定运算算,根据value情况生成IN或者=default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreor(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成ordefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStore添加排序添加排序添加排序order(String column, Order.TYPE type) 添加排序order(String column, Order.TYPE type, boolean override) 添加排序添加排序default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, String text) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成or
* 这里不指定运算算,根据value情况生成IN或者=default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) ors(Compare.EMPTY_VALUE_SWITCH swt, Config config) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成ordefault ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreoverride()如果数据库中存在相同数据(根据overrideBy)是否覆盖 true或false会检测数据库 null不检测如果数据库中存在相同数据(根据columns,如果不指定则根据主键或唯一索引) 是否覆盖 true或false会检测数据库null不检测override(Boolean override, Constraint constraint) page(long page, int rows) 设置分页default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreparam(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) 用来给占位符或自定义SQL中的参数赋值 Compare.NONE 只作为参数值为占位符赋值,不能独立生成新的查询条件default ConfigStoreparam(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 用来给占位符或自定义SQL中的参数赋值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()default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStoreregex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreregex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStoreremoveConfig(String var) removeConfig(String var, Compare compare) removeConfig(Config config) runs()执行过的命令schema()scope(long first, long last) 起止行 下标从0开始voidsetExecuteTime(long time) setGroups(GroupStore groups) setHighlight(Highlight highlight) setJoin(Condition.JOIN type) 自动识别and|or 如果遇到ES比较复杂的条件可以主动设置voidsetLastExecuteTime(long time) voidsetLastPackageTime(long time) setOrders(OrderStore orders) voidsetPackageTime(long time) setPageNavi(PageNavi navi) voidsetPlaceholder(Boolean placeholder) default ConfigStoresetPrimaryKey(String... pks) setPrimaryKey(Collection<String> pks) 设置主键setTotalLazy(long ms) 开启记录总数懒加载voidsetUnicode(Boolean unicode) 在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))default long慢SQL判断标准(ms)default ConfigStoreSLOW_SQL_MILLIS(long value) static longSLOW_SQL_MILLIS(ConfigStore configs) 慢SQL判断标准default intdefault ConfigStoreSQL_QUERY_TIMEOUT(int s) static intSQL_QUERY_TIMEOUT(ConfigStore configs) default intdefault ConfigStoreSQL_UPDATE_TIMEOUT(int s) static intSQL_UPDATE_TIMEOUT(ConfigStore configs) default ConfigStoredefault ConfigStoredefault ConfigStoredefault ConfigStorestartWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorestartWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorestartWithIgnoreCase(String var, Object value) default ConfigStorestartWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) default ConfigStorestartWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorestartWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) default ConfigStorestartWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) boolean是否支持返回自增主键值supportKeyHolder(boolean support) table()toString()values()根据占位符下标赋值
-
方法详细资料
-
map
属性转map- 参数:
empty- 是否保留空值属性- 返回:
- DataRow
-
map
-
json
-
json
-
getRunText
-
getRunText
-
datasource
设置查询或操作的数据源- 参数:
datasource- 查询或操作的数据源- 返回:
- ConfigStore
-
datasource
String datasource()查询或操作的数据源- 返回:
- String
-
dest
设置查询或操作的目标(表,存储过程,sql等)- 参数:
dest- 查询或操作的目标- 返回:
- ConfigStore
-
table
-
schema
-
catalog
-
table
-
schema
-
catalog
-
table
Table table() -
schema
Schema schema() -
catalog
Catalog catalog() -
tableName
String tableName() -
schemaName
String schemaName() -
catalogName
String catalogName() -
getHighlight
Highlight getHighlight() -
getHighlight
-
setHighlight
-
addHighlight
-
addHighlight
-
copyProperty
复制配置属性(不含查询条件)- 参数:
configs- ConfigStore- 返回:
- ConfigStore
-
setJoin
自动识别and|or 如果遇到ES比较复杂的条件可以主动设置- 参数:
type- and(must) or(should) must_not filter- 返回:
- this
-
getJoin
Condition.JOIN getJoin() -
dest
String dest()查询或操作的目标(表,存储过程,sql等)- 返回:
- String
-
keys
设置虚拟主键,主要是用作为更新条件- 参数:
keys- keys- 返回:
- this
-
keys
虚拟主键,主要是用作为更新条件- 返回:
- List
-
execute
boolean execute() -
execute
-
handler
设置流式(StreamHandlder)或异步(FinishHandler)的回调- 参数:
handler- StreamHandler- 返回:
- ConfigStore
-
handler
DataHandler handler() -
aggregations
-
aggregation
-
aggregations
List<AggregationConfig> aggregations() -
entityClass
-
entityClass
Class entityClass() -
parseConfig
解析查询配置参数- 参数:
config- "COMPANY_CD:company","NM:nmEn% | NM:nmCn%","STATUS_VALUE:[status]"- 返回:
- Config
-
runs
执行过的命令- 返回:
- List
-
runs
-
add
-
scope
起止行 下标从0开始- 参数:
first- 起last- 止- 返回:
- ConfigStore
-
limit
起止行 下标从0开始- 参数:
offset- offset:指定第一个返回记录行的偏移量(即从哪一行开始返回) 初始行的偏移量为0rows- 返回具体行数- 返回:
- ConfigStore
-
limit
-
page
设置分页- 参数:
page- 第page页 下标从1开始rows- 每页rows行- 返回:
- ConfigStore
-
autoCount
-
autoCount
Boolean autoCount() -
integrality
boolean integrality()是否作为一个整体,不可分割,与其他条件合并时以()包围- 返回:
- boolean
-
integrality
-
setValue
在配置了参数(调用and/or)之后,为参数赋值(值经常是来自WebUti.value(request))- 参数:
values- 值- 返回:
- ConfigStore
-
getConfigChain
ConfigChain getConfigChain() -
isEmptyCondition
boolean isEmptyCondition()查询条件是否为空- 返回:
- boolean
-
isEmpty
boolean isEmpty()查询条件及配置项等所有内容是否为空- 返回:
- boolean
-
getConfig
-
getConfigs
-
removeConfig
-
removeConfig
-
getConfigValues
-
getConfigValue
-
getConfig
-
removeConfig
-
getConfigValues
-
getConfigValue
-
override
Boolean override()如果数据库中存在相同数据(根据overrideBy)是否覆盖 true或false会检测数据库 null不检测- 返回:
- Boolean
-
overrideByColumns
-
overrideByConstraint
Constraint overrideByConstraint() -
override
如果数据库中存在相同数据(根据columns,如果不指定则根据主键或唯一索引) 是否覆盖 true或false会检测数据库null不检测- 参数:
columns- 根据 columns列判断重复override- boolean- 返回:
- ConfigStore
-
override
-
lite
快速查询 查询结果以数组结构返回 速度快 占用空间少,但不能忽略大不写,不能二次计算- 参数:
lite- 是否- 返回:
- this
-
lite
boolean lite() -
addPrimaryKey
添加主键- 参数:
pks- pks- 返回:
- DataRow
-
addPrimaryKey
-
setPrimaryKey
-
getPlaceholder
Boolean getPlaceholder() -
setPlaceholder
-
getUnicode
Boolean getUnicode() -
setUnicode
-
setPrimaryKey
设置主键- 参数:
pks- keys- 返回:
- DataRow
-
getPrimaryColumns
LinkedHashMap<String,Column> getPrimaryColumns() -
getPrimaryKeys
读取主键 主键为空时且容器有主键时,读取容器主键,否则返回默认主键- 返回:
- List
-
getPrimaryKey
String getPrimaryKey() -
hasSelfPrimaryKeys
boolean hasSelfPrimaryKeys()自身是否有主键- 返回:
- boolean
-
exists
-
exists
-
and
构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合 如果是集合生成IN条件- 返回:
- ConfigStore
-
and
-
and
default ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- ConfigStore
-
and
default ConfigStore and(String id, String var, Object value, boolean overCondition, boolean overValue) -
and
default ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- ConfigStore
-
and
-
and
构造查询条件- 参数:
swt- 遇到空值处理方式text- 可以是一条原生的SQL查询条件- 返回:
- ConfigStore
-
and
-
and
构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- ConfigStore
-
and
-
and
default ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- ConfigStore
-
and
-
and
default ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
and
default ConfigStore and(Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
and
ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String prefix, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
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
default ConfigStore and(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) -
and
构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=- 参数:
swt- 遇到空值处理方式id- condition.id或表名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合- 返回:
- ConfigStore
-
and
-
and
default ConfigStore and(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) -
and
-
and
-
and
-
and
构造查询条件- 参数:
config- 查询条件- 返回:
- ConfigStore
-
and
构造查询条件- 参数:
config- ConfigStoreapart- 是否需要跟前面的条件保持隔离
true:隔离,前面所有条件加到(),与configs合成一个新的list
false:不隔离,configs合并成原来的list中- 返回:
- ConfigStore
-
and
-
ands
构造查询条件
最初ands是为了生成in条件,但and已经可以识别集合条件自动生成IN,
2023-10-21后
ands改成了与ors类似的效果,即把之前所有的条件放在一个()内,然后and this- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合 如果是集合生成IN条件- 返回:
- ConfigStore
-
ands
-
ands
default ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- ConfigStore
-
ands
default ConfigStore ands(String id, String var, Object value, boolean overCondition, boolean overValue) -
ands
default ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- ConfigStore
-
ands
-
ands
构造查询条件- 参数:
swt- 遇到空值处理方式text- 可以是一条原生的SQL查询条件- 返回:
- ConfigStore
-
ands
-
ands
-
ands
构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- ConfigStore
-
ands
-
ands
default ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- ConfigStore
-
ands
-
ands
default ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
ands
default ConfigStore ands(Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
ands
ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
ands
default ConfigStore ands(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) -
ands
构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=- 参数:
swt- 遇到空值处理方式id- condition.id或表名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合- 返回:
- ConfigStore
-
ands
-
ands
-
ands
default ConfigStore ands(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String col, Object... values) -
ands
-
ands
-
ands
-
eq
default ConfigStore eq(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
eq
default ConfigStore eq(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
eq
default ConfigStore eq(String id, String var, Object value, boolean overCondition, boolean overValue) -
eq
-
eq
-
gt
default ConfigStore gt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
gt
default ConfigStore gt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
gt
default ConfigStore gt(String id, String var, Object value, boolean overCondition, boolean overValue) -
gt
-
gt
-
ge
default ConfigStore ge(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
ge
default ConfigStore ge(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
ge
default ConfigStore ge(String id, String var, Object value, boolean overCondition, boolean overValue) -
ge
-
ge
-
lt
default ConfigStore lt(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
lt
default ConfigStore lt(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
lt
default ConfigStore lt(String id, String var, Object value, boolean overCondition, boolean overValue) -
lt
-
lt
-
le
default ConfigStore le(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
le
default ConfigStore le(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
le
default ConfigStore le(String id, String var, Object value, boolean overCondition, boolean overValue) -
le
-
le
-
in
default ConfigStore in(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
in
default ConfigStore in(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
in
default ConfigStore in(String id, String var, Object value, boolean overCondition, boolean overValue) -
in
-
eq
-
eq
-
eq
-
gt
-
gt
-
gt
-
ge
-
ge
-
ge
-
lt
-
lt
-
lt
-
le
-
le
-
le
-
in
-
in
-
in
-
in
in- 参数:
var- 列values- 可以是集合 或对象 最终会组合到一维数组中- 返回:
- ConfigStore
-
in
-
in
-
likes
-
likes
-
like
default ConfigStore like(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
like
default ConfigStore like(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
like
default ConfigStore like(String id, String var, Object value, boolean overCondition, boolean overValue) -
like
-
like
-
likesIgnoreCase
-
likesIgnoreCase
-
likeIgnoreCase
default ConfigStore likeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
likeIgnoreCase
default ConfigStore likeIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
likeIgnoreCase
default ConfigStore likeIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) -
likeIgnoreCase
default ConfigStore likeIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) -
likeIgnoreCase
-
match
default ConfigStore match(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
match
default ConfigStore match(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
match
default ConfigStore match(String id, String var, Object value, boolean overCondition, boolean overValue) -
match
-
match
-
likePrefix
default ConfigStore likePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
likePrefix
default ConfigStore likePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
likePrefix
default ConfigStore likePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) -
likePrefix
-
likePrefix
-
likePrefixIgnoreCase
default ConfigStore likePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
likePrefixIgnoreCase
default ConfigStore likePrefixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
likePrefixIgnoreCase
default ConfigStore likePrefixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) -
likePrefixIgnoreCase
default ConfigStore likePrefixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) -
likePrefixIgnoreCase
-
startWith
default ConfigStore startWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
startWith
default ConfigStore startWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
startWith
default ConfigStore startWith(String id, String var, Object value, boolean overCondition, boolean overValue) -
startWith
-
startWith
-
startWithIgnoreCase
default ConfigStore startWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
startWithIgnoreCase
default ConfigStore startWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
startWithIgnoreCase
default ConfigStore startWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) -
startWithIgnoreCase
default ConfigStore startWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) -
startWithIgnoreCase
-
likeSuffix
default ConfigStore likeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffix
default ConfigStore likeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffix
default ConfigStore likeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffix
-
likeSuffix
-
likeSuffixIgnoreCase
default ConfigStore likeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffixIgnoreCase
default ConfigStore likeSuffixIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffixIgnoreCase
default ConfigStore likeSuffixIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) -
likeSuffixIgnoreCase
default ConfigStore likeSuffixIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) -
likeSuffixIgnoreCase
-
endWith
default ConfigStore endWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
endWith
default ConfigStore endWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
endWith
default ConfigStore endWith(String id, String var, Object value, boolean overCondition, boolean overValue) -
endWith
-
endWith
-
endWithIgnoreCase
default ConfigStore endWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
endWithIgnoreCase
default ConfigStore endWithIgnoreCase(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
endWithIgnoreCase
default ConfigStore endWithIgnoreCase(String id, String var, Object value, boolean overCondition, boolean overValue) -
endWithIgnoreCase
default ConfigStore endWithIgnoreCase(String var, Object value, boolean overCondition, boolean overValue) -
endWithIgnoreCase
-
regex
default ConfigStore regex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
regex
default ConfigStore regex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
regex
default ConfigStore regex(String id, String var, Object value, boolean overCondition, boolean overValue) -
regex
-
regex
-
notRegex
default ConfigStore notRegex(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notRegex
default ConfigStore notRegex(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notRegex
default ConfigStore notRegex(String id, String var, Object value, boolean overCondition, boolean overValue) -
notRegex
-
notRegex
-
findInSet
default ConfigStore findInSet(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSet
default ConfigStore findInSet(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
findInSet
default ConfigStore findInSet(String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSet
-
findInSet
-
findInSetOr
default ConfigStore findInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSetOr
default ConfigStore findInSetOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
findInSetOr
default ConfigStore findInSetOr(String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSetOr
-
findInSetOr
-
findInSetAnd
default ConfigStore findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSetAnd
default ConfigStore findInSetAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
findInSetAnd
default ConfigStore findInSetAnd(String id, String var, Object value, boolean overCondition, boolean overValue) -
findInSetAnd
default ConfigStore findInSetAnd(String var, Object value, boolean overCondition, boolean overValue) -
findInSetAnd
-
jsonContains
default ConfigStore jsonContains(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContains
default ConfigStore jsonContains(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonContains
default ConfigStore jsonContains(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContains
default ConfigStore jsonContains(String var, Object value, boolean overCondition, boolean overValue) -
jsonContains
-
jsonContainsOr
default ConfigStore jsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsOr
default ConfigStore jsonContainsOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsOr
default ConfigStore jsonContainsOr(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsOr
default ConfigStore jsonContainsOr(String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsOr
-
jsonContainsAnd
default ConfigStore jsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsAnd
default ConfigStore jsonContainsAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsAnd
default ConfigStore jsonContainsAnd(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsAnd
default ConfigStore jsonContainsAnd(String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsAnd
-
jsonContainsPathOr
default ConfigStore jsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathOr
default ConfigStore jsonContainsPathOr(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathOr
default ConfigStore jsonContainsPathOr(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathOr
default ConfigStore jsonContainsPathOr(String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathOr
-
jsonContainsPathAnd
default ConfigStore jsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathAnd
default ConfigStore jsonContainsPathAnd(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathAnd
default ConfigStore jsonContainsPathAnd(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathAnd
default ConfigStore jsonContainsPathAnd(String var, Object value, boolean overCondition, boolean overValue) -
jsonContainsPathAnd
-
jsonOverlaps
default ConfigStore jsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonOverlaps
default ConfigStore jsonOverlaps(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonOverlaps
default ConfigStore jsonOverlaps(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonOverlaps
default ConfigStore jsonOverlaps(String var, Object value, boolean overCondition, boolean overValue) -
jsonOverlaps
-
jsonSearch
default ConfigStore jsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonSearch
default ConfigStore jsonSearch(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
jsonSearch
default ConfigStore jsonSearch(String id, String var, Object value, boolean overCondition, boolean overValue) -
jsonSearch
-
jsonSearch
-
between
default ConfigStore between(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object min, Object max, boolean overCondition, boolean overValue) -
between
default ConfigStore between(Compare.EMPTY_VALUE_SWITCH swt, String var, Object min, Object max, boolean overCondition, boolean overValue) -
between
default ConfigStore between(String id, String var, Object min, Object max, boolean overCondition, boolean overValue) -
between
default ConfigStore between(String var, Object min, Object max, boolean overCondition, boolean overValue) -
between
-
ne
default ConfigStore ne(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
ne
default ConfigStore ne(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
ne
default ConfigStore ne(String id, String var, Object value, boolean overCondition, boolean overValue) -
ne
-
ne
-
isNull
-
isNull
-
isNull
-
isNull
-
notNull
-
notNull
-
notNull
-
notNull
-
isNotNull
-
isNotNull
-
isNotNull
-
isNotNull
-
notIn
default ConfigStore notIn(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notIn
default ConfigStore notIn(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notIn
default ConfigStore notIn(String id, String var, Object value, boolean overCondition, boolean overValue) -
notIn
-
notIn
-
notIn
-
notLike
default ConfigStore notLike(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notLike
default ConfigStore notLike(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notLike
default ConfigStore notLike(String id, String var, Object value, boolean overCondition, boolean overValue) -
notLike
-
notLike
-
notLikePrefix
default ConfigStore notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notLikePrefix
default ConfigStore notLikePrefix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notLikePrefix
default ConfigStore notLikePrefix(String id, String var, Object value, boolean overCondition, boolean overValue) -
notLikePrefix
default ConfigStore notLikePrefix(String var, Object value, boolean overCondition, boolean overValue) -
notLikePrefix
-
notStartWith
default ConfigStore notStartWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notStartWith
default ConfigStore notStartWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notStartWith
default ConfigStore notStartWith(String id, String var, Object value, boolean overCondition, boolean overValue) -
notStartWith
default ConfigStore notStartWith(String var, Object value, boolean overCondition, boolean overValue) -
notStartWith
-
notLikeSuffix
default ConfigStore notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notLikeSuffix
default ConfigStore notLikeSuffix(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notLikeSuffix
default ConfigStore notLikeSuffix(String id, String var, Object value, boolean overCondition, boolean overValue) -
notLikeSuffix
default ConfigStore notLikeSuffix(String var, Object value, boolean overCondition, boolean overValue) -
notLikeSuffix
-
notEndWith
default ConfigStore notEndWith(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
notEndWith
default ConfigStore notEndWith(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) -
notEndWith
default ConfigStore notEndWith(String id, String var, Object value, boolean overCondition, boolean overValue) -
notEndWith
-
notEndWith
-
params
LinkedHashMap<String,Config> params() -
param
ConfigStore param(Compare.EMPTY_VALUE_SWITCH swt, String prefix, String var, Object value, boolean overCondition, boolean overValue) 占位符赋值- 参数:
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
-
param
用来给占位符或自定义SQL中的参数赋值- 参数:
swt- 遇到空值处理方式id- 自定义查询条件ID或表名表别名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合- 返回:
- ConfigStore
-
param
-
param
用来给占位符或自定义SQL中的参数赋值 Compare.NONE 只作为参数值为占位符赋值,不能独立生成新的查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合- 返回:
- ConfigStore
-
param
-
param
-
params
根据占位符下标赋值,注意不需要提供下标,按顺序提供值即可- 参数:
values- values- 返回:
- this
-
params
-
params
-
values
根据占位符下标赋值- 返回:
- list
-
or
ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成or- 参数:
swt- 遇到空值处理方式compare- 匹配方式id- 自定义查询条件ID或表名表别名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
or
default ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
or
-
or
default ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
or
-
or
default ConfigStore or(String id, String var, Object value, boolean overCondition, boolean overValue) -
or
default ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) -
or
-
or
default ConfigStore or(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) -
or
-
or
default ConfigStore or(Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
or
-
or
default ConfigStore or(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中前一个条件合成or
这里不指定运算算,根据value情况生成IN或者=- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
or
-
or
-
or
-
or
构造查询条件- 参数:
config- ConfigStoreapart- 是否需要跟前面的条件保持隔离
true:隔离,前面所有条件加到(),与configs合成一个新的list
false:不隔离,configs合并成原来的list中- 返回:
- ConfigStore
-
or
-
or
-
or
-
or
-
ors
-
ors
-
ors
-
ors
-
ors
ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成or- 参数:
swt- 遇到空值处理方式compare- 匹配方式id- 自定义查询条件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
default ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) -
ors
-
ors
default ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
ors
default ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) -
ors
-
ors
default ConfigStore ors(Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) -
ors
default ConfigStore ors(String id, String var, Object value, boolean overCondition, boolean overValue) -
ors
-
ors
-
ors
default ConfigStore ors(Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
ors
-
ors
default ConfigStore ors(Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 与ConfigStore中当前所有的条件合成or
* 这里不指定运算算,根据value情况生成IN或者=- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- ConfigStore
-
ors
-
ors
-
ors
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value) -
condition
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- default ConfigStore
-
condition
default ConfigStore condition(String join, String id, String var, Object value, boolean overCondition, boolean overValue) -
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,如果不覆盖则与原来的值合成新的集合- 返回:
- default ConfigStore
-
condition
default ConfigStore condition(String join, String var, Object value, boolean overCondition, boolean overValue) -
condition
构造查询条件- 参数:
swt- 遇到空值处理方式text- 可以是一条原生的SQL查询条件- 返回:
- default ConfigStore
-
condition
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- default ConfigStore
-
condition
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式- 返回:
- default ConfigStore
-
condition
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- default ConfigStore
-
condition
default ConfigStore condition(String join, Compare compare, String var, Object value, boolean overCondition, boolean overValue) -
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, Compare compare, String id, String var, Object value, boolean overCondition, boolean overValue) 构造查询条件- 参数:
swt- 遇到空值处理方式id- 表别名或XML中查询条件的IDvar- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合compare- 匹配方式overCondition- 覆盖相同key并且相同运算符的条件,true在现有条件基础上修改(多个相同key的条件只留下第一个),false:添加新条件overValue- 覆盖相同key并且相同运算符的条件时,是否覆盖条件值,true:删除析来的值 false:原来的值合成新的集合- 返回:
- default ConfigStore
-
condition
-
condition
default ConfigStore condition(String join, Compare.EMPTY_VALUE_SWITCH swt, String id, String var, Object value) 构造查询条件 XML自定义SQL条件中指定变量赋值
这里不指定运算算,根据value情况生成IN或者=- 参数:
swt- 遇到空值处理方式id- condition.id或表名var- XML自定义SQL条件中指定变量赋值或占位符key或列名 在value值为空的情况下 如果以var+开头会生成var is null 如果以++开头当前SQL不执行 这与swt作用一样,不要与swt混用value- 值 可以是集合- 返回:
- default ConfigStore
-
condition
-
condition
构造查询条件- 参数:
config- 查询条件- 返回:
- default ConfigStore
-
condition
构造查询条件- 参数:
join- and或者orconfig- ConfigStoreapart- 是否需要跟前面的条件保持隔离
true:隔离,前面所有条件加到(),与configs合成一个新的list
false:不隔离,configs合并成原来的list中- 返回:
- ConfigStore
-
condition
-
compare
-
order
添加排序- 参数:
order- orderoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
-
order
添加排序- 参数:
column- 列名type- ASC|DESCoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
添加排序- 参数:
column- 列名type- ASC|DESC- 返回:
- ConfigStore
-
order
添加排序- 参数:
column- 列名type- ASC|DESCoverride- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
添加排序- 参数:
column- 列名type- ASC|DESC- 返回:
- ConfigStore
-
order
添加排序- 参数:
order- 列名+排序方式override- 如果已存在相同的排序列 是否覆盖- 返回:
- ConfigStore
-
order
- 参数:
order- 列名或原生的SQL 如 ID 或 ID ASC 或 ORDER BY CONVERT(id USING gbk) COLLATE gbk_chinese_ci DESC- 返回:
- ConfigStore
-
getOrders
OrderStore getOrders() -
setOrders
-
remove
-
group
添加分组- 参数:
column- 列名- 返回:
- ConfigStore
-
group
添加排序- 参数:
column- 列名- 返回:
- ConfigStore
-
getGroups
GroupStore getGroups() -
groups
-
setGroups
-
groups
-
having
-
having
-
having
-
having
-
having
-
having
ConfigStore having() -
fetch
提取部分查询条件- 参数:
keys- keys- 返回:
- ConfigStore
-
toString
String toString() -
setTotalLazy
开启记录总数懒加载- 参数:
ms- 缓存有效期(毫秒)- 返回:
- ConfigStore
-
isValid
boolean isValid() -
columns
设置需要查询或更新的列- 参数:
columns- 需要查询或更新的列- 返回:
- ConfigStore
-
columns
-
columns
-
columns
-
columns
需要查询或更新的列- 返回:
-
getColumns
LinkedHashMap<String,Column> getColumns() -
distinct
-
distinct
Boolean distinct() -
prepare
执行查询或更新前 有前置命令 如创建临时表等- 参数:
prepares- RunPrepare- 返回:
- this
-
prepares
List<RunPrepare> prepares() -
cascade
级联(如删除点相关的边)- 参数:
cascade- 是否开启- 返回:
- ConfigStore
-
cascade
boolean cascade()是否启用级联(如删除点相关的边)- 返回:
- boolean
-
supportKeyHolder
boolean supportKeyHolder()是否支持返回自增主键值- 返回:
- boolean
-
supportKeyHolder
-
keyHolders
自增主键值 keys- 返回:
- keys
-
keyHolders
-
excludes
设置不城要查询的列- 参数:
columns- 需要查询的列- 返回:
- ConfigStore
-
excludes
-
excludes
-
getExcludes
-
addStaticValue
-
getStaticValues
-
keyCase
KeyAdapter.KEY_CASE keyCase() -
keyCase
-
config
设置配置项,用来覆盖ConfigTable- 参数:
key- keyvalue- value- 返回:
- this
-
config
-
setExecuteTime
void setExecuteTime(long time) -
getExecuteTime
long getExecuteTime() -
setLastExecuteTime
void setLastExecuteTime(long time) -
getLastExecuteTime
long getLastExecuteTime() -
setPackageTime
void setPackageTime(long time) -
getPackageTime
long getPackageTime() -
setLastPackageTime
void setLastPackageTime(long time) -
getLastPackageTime
long getLastPackageTime() -
getBoolean
-
getString
-
getString
-
getInt
-
getLong
-
clone
ConfigStore clone() -
filter
过滤不存在的列- 参数:
metadatas- 可用范围
-
IS_LOG_SQL
default boolean IS_LOG_SQL()是否显示SQL- 返回:
- boolean
-
IS_LOG_SQL
-
IS_LOG_SLOW_SQL
default boolean IS_LOG_SLOW_SQL()是否显示慢SQL- 返回:
- boolean
-
IS_LOG_SLOW_SQL
-
IS_LOG_QUERY_RESULT
default boolean IS_LOG_QUERY_RESULT()查询结果输出日志- 返回:
- boolean
-
IS_LOG_QUERY_RESULT
-
IS_LOG_QUERY_RESULT_EXCLUDE_METADATA
default boolean IS_LOG_QUERY_RESULT_EXCLUDE_METADATA()查询结果输出日志时 是否过滤元数据查询结果- 返回:
- boolean
-
IS_LOG_QUERY_RESULT_EXCLUDE_METADATA
-
IS_LOG_SQL_WHEN_ERROR
default boolean IS_LOG_SQL_WHEN_ERROR()异常时是否显示SQL- 返回:
- boolean
-
IS_LOG_SQL_WHEN_ERROR
-
IS_PRINT_EXCEPTION_STACK_TRACE
default boolean IS_PRINT_EXCEPTION_STACK_TRACE()是否输出异常堆栈日志- 返回:
- boolean
-
IS_PRINT_EXCEPTION_STACK_TRACE
-
IS_LOG_SQL_PARAM
default boolean IS_LOG_SQL_PARAM()是否显示SQL参数(占位符模式下有效)- 返回:
- boolean
-
IS_LOG_BATCH_SQL_PARAM
default boolean IS_LOG_BATCH_SQL_PARAM() -
IS_LOG_SQL_PARAM
-
IS_LOG_SQL_PARAM_WHEN_ERROR
default boolean IS_LOG_SQL_PARAM_WHEN_ERROR()异常时是否显示SQL参数(占位符模式下有效)- 返回:
- boolean
-
IS_LOG_SQL_PARAM_WHEN_ERROR
-
IS_LOG_SQL_TIME
default boolean IS_LOG_SQL_TIME()是否显示SQL执行时间- 返回:
- boolean
-
IS_LOG_SQL_TIME
-
IS_THROW_SQL_QUERY_EXCEPTION
default boolean IS_THROW_SQL_QUERY_EXCEPTION()是否抛出查询异常- 返回:
- boolean
-
IS_THROW_SQL_QUERY_EXCEPTION
-
IS_THROW_SQL_UPDATE_EXCEPTION
default boolean IS_THROW_SQL_UPDATE_EXCEPTION()是否抛出更新异常- 返回:
- boolean
-
IS_THROW_SQL_UPDATE_EXCEPTION
-
IS_SQL_LOG_PLACEHOLDER
default boolean IS_SQL_LOG_PLACEHOLDER()SQL日志是否启用占位符- 返回:
- boolean
-
IS_SQL_LOG_PLACEHOLDER
-
IS_AUTO_CHECK_METADATA
default boolean IS_AUTO_CHECK_METADATA()insert update 时是否自动检测表结构(删除表中不存在的属性)- 返回:
- boolean
-
IS_AUTO_CHECK_METADATA
-
IS_AUTO_CHECK_EL_VALUE
default boolean IS_AUTO_CHECK_EL_VALUE()是否自动检测el值- 返回:
- boolean
-
IS_AUTO_CHECK_EL_VALUE
-
IS_CHECK_EMPTY_SET_METADATA
default boolean IS_CHECK_EMPTY_SET_METADATA()查询返回空DataSet时,是否检测元数据信息- 返回:
- boolean
-
IS_CHECK_EMPTY_SET_METADATA
-
DEFAULT_PRIMARY_KEY
-
DEFAULT_PRIMARY_KEY
-
SLOW_SQL_MILLIS
default long SLOW_SQL_MILLIS()慢SQL判断标准(ms)- 返回:
- long
-
SLOW_SQL_MILLIS
-
IS_UPDATE_NULL_COLUMN
default boolean IS_UPDATE_NULL_COLUMN()DataRow是否更新nul值的列(针对DataRow)- 返回:
- boolean
-
IS_UPDATE_NULL_COLUMN
-
IS_UPDATE_EMPTY_COLUMN
default boolean IS_UPDATE_EMPTY_COLUMN()DataRow是否更新空值的列- 返回:
- boolean
-
IS_UPDATE_EMPTY_COLUMN
-
IS_INSERT_NULL_COLUMN
default boolean IS_INSERT_NULL_COLUMN()DataRow是否插入nul值的列- 返回:
- boolean
-
IS_INSERT_NULL_COLUMN
-
IS_INSERT_EMPTY_COLUMN
default boolean IS_INSERT_EMPTY_COLUMN()DataRow是否插入空值的列- 返回:
- boolean
-
IS_INSERT_EMPTY_COLUMN
-
IS_UPDATE_NULL_FIELD
default boolean IS_UPDATE_NULL_FIELD()Entity是否更新nul值的属性(针对Entity)- 返回:
- boolean
-
IS_UPDATE_NULL_FIELD
-
IS_UPDATE_EMPTY_FIELD
default boolean IS_UPDATE_EMPTY_FIELD()Entity是否更新空值的属性- 返回:
- boolean
-
IS_UPDATE_EMPTY_FIELD
-
IS_INSERT_NULL_FIELD
default boolean IS_INSERT_NULL_FIELD()Entity是否更新nul值的属性- 返回:
- boolean
-
IS_INSERT_NULL_FIELD
-
IS_INSERT_EMPTY_FIELD
default boolean IS_INSERT_EMPTY_FIELD()Entity是否更新空值的属性- 返回:
- boolean
-
IS_INSERT_EMPTY_FIELD
-
IS_LOG_SQL_WARN
default boolean IS_LOG_SQL_WARN() -
IS_LOG_SQL_WARN
-
IS_REPLACE_EMPTY_NULL
default boolean IS_REPLACE_EMPTY_NULL() -
IS_REPLACE_EMPTY_NULL
-
SQL_QUERY_TIMEOUT
default int SQL_QUERY_TIMEOUT() -
SQL_QUERY_TIMEOUT
-
SQL_UPDATE_TIMEOUT
default int SQL_UPDATE_TIMEOUT() -
SQL_UPDATE_TIMEOUT
-
IGNORE_GRAPH_QUERY_RESULT_TOP_KEY
-
IGNORE_GRAPH_QUERY_RESULT_TOP_KEY
default int IGNORE_GRAPH_QUERY_RESULT_TOP_KEY() -
IGNORE_GRAPH_QUERY_RESULT_TABLE
-
IGNORE_GRAPH_QUERY_RESULT_TABLE
default int IGNORE_GRAPH_QUERY_RESULT_TABLE() -
MERGE_GRAPH_QUERY_RESULT_TABLE
-
MERGE_GRAPH_QUERY_RESULT_TABLE
default int MERGE_GRAPH_QUERY_RESULT_TABLE() -
IS_ENABLE_PLACEHOLDER_REGEX_EXT
-
IS_ENABLE_PLACEHOLDER_REGEX_EXT
default boolean IS_ENABLE_PLACEHOLDER_REGEX_EXT() -
IS_ENABLE_SQL_DATATYPE_CONVERT
-
IS_ENABLE_SQL_DATATYPE_CONVERT
default boolean IS_ENABLE_SQL_DATATYPE_CONVERT() -
IS_CHECK_ALL_INSERT_COLUMN
-
IS_CHECK_ALL_INSERT_COLUMN
default boolean IS_CHECK_ALL_INSERT_COLUMN() -
IS_CHECK_ALL_UPDATE_COLUMN
-
IS_CHECK_ALL_UPDATE_COLUMN
default boolean IS_CHECK_ALL_UPDATE_COLUMN() -
IS_AUTO_MASK_OMIT
default boolean IS_AUTO_MASK_OMIT() -
IS_AUTO_MASK_REPLACE
default boolean IS_AUTO_MASK_REPLACE() -
MASK_OMIT_COLUMN
-
MASK_OMIT_COLUMN
-
MASK_REPLACE_COLUMN
-
MASK_REPLACE_COLUMN
-
MASK_REPLACE_REGEX
-
MASK_REPLACE_REGEX
-
MASK_REPLACE_REPLACEMENT
-
MASK_REPLACE_REPLACEMENT
-
MASK_OMIT_ELLIPSIS
-
MASK_OMIT_RIGHT
default int MASK_OMIT_RIGHT() -
MASK_OMIT_RIGHT
-
MASK_OMIT_LEFT
default int MASK_OMIT_LEFT() -
MASK_OMIT_LEFT
-
MASK_OMIT_VOL
default int MASK_OMIT_VOL() -
MASK_OMIT_VOL
-
closeAllSqlLog
关闭所有SQL日志- 返回:
- ConfigStore
-
openAllSqlLog
开启所有SQL日志- 返回:
- ConfigStore
-
IS_LOG_SQL
是否输出SQL日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_AUTO_CHECK_METADATA
insert update 时是否自动检测表结构(删除表中不存在的属性)- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_AUTO_CHECK_EL_VALUE
-
IS_CHECK_EMPTY_SET_METADATA
查询返回空DataSet时,是否检测元数据信息- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_SLOW_SQL
是否输出慢SQL日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_QUERY_RESULT
查询结果输出日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_QUERY_RESULT_EXCLUDE_METADATA
查询结果输出日志时 是否过滤元数据查询结果- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_SQL_PARAM
是否输出SQL参数日志(占位符模式下有效)- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_BATCH_SQL_PARAM
是否输出SQL参数日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_SQL_WHEN_ERROR
异常时是否输出SQL日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_PRINT_EXCEPTION_STACK_TRACE
是否输出异常堆栈日志- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_LOG_SQL_PARAM_WHEN_ERROR
异常时是否输出SQL参数日志(占位符模式下有效)- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_SQL_LOG_PLACEHOLDER
-
IS_LOG_SQL_TIME
是否显示SQL耗时- 参数:
configs- ConfigStore- 返回:
- boolean
-
SLOW_SQL_MILLIS
慢SQL判断标准- 参数:
configs- ConfigStore- 返回:
- long
-
DEFAULT_PRIMARY_KEY
-
IS_THROW_SQL_QUERY_EXCEPTION
是否抛出查询异常- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_THROW_SQL_UPDATE_EXCEPTION
是否抛出更新异常- 参数:
configs- ConfigStore- 返回:
- boolean
-
IS_UPDATE_NULL_COLUMN
-
IS_UPDATE_EMPTY_COLUMN
-
IS_UPDATE_NULL_FIELD
-
IS_UPDATE_EMPTY_FIELD
-
IS_INSERT_NULL_FIELD
-
IS_INSERT_EMPTY_FIELD
-
IS_INSERT_NULL_COLUMN
-
IS_INSERT_EMPTY_COLUMN
-
IS_LOG_SQL_WARN
-
IS_REPLACE_EMPTY_NULL
-
SQL_QUERY_TIMEOUT
-
SQL_UPDATE_TIMEOUT
-
IGNORE_GRAPH_QUERY_RESULT_TOP_KEY
-
IGNORE_GRAPH_QUERY_RESULT_TABLE
-
MERGE_GRAPH_QUERY_RESULT_TABLE
-
IS_ENABLE_PLACEHOLDER_REGEX_EXT
-
IS_ENABLE_SQL_DATATYPE_CONVERT
-
IS_CHECK_ALL_INSERT_COLUMN
-
IS_CHECK_ALL_UPDATE_COLUMN
-
IS_AUTO_MASK_OMIT
-
IS_AUTO_MASK_REPLACE
-
MASK_OMIT_COLUMN
-
MASK_OMIT_ELLIPSIS
-
MASK_OMIT_RIGHT
-
MASK_OMIT_LEFT
-
MASK_OMIT_VOL
-
MASK_REPLACE_COLUMN
-
MASK_REPLACE_REGEX
-
MASK_REPLACE_REPLACEMENT
-