public class MysqlWhereCondition extends GenericWhereCondition
aliasTableMap, condition, dataSourceName, isFirstBuild, parameterBinder, version| Constructor and Description |
|---|
MysqlWhereCondition(Version version,
Map<String,String> aliasTableMap,
String dataSourceName) |
| Modifier and Type | Method and Description |
|---|---|
<T,F> FunctionCondition |
andFindInSet(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> Condition |
andFindInSet(Fn<T,F> fn,
Object item)
添加字段在指定集合中条件,并且运算(使用 FIND_IN_SET 函数)。
|
<T,F> Condition |
andFindInSet(Fn<T,F> fn,
Object item,
String separator)
添加字段在指定集合中条件,并且运算(使用 FIND_IN_SET 函数),并指定分隔符。
|
<T,F> FunctionCondition |
andMatches(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> Condition |
andMatches(Fn<T,F> fn,
String regex)
添加字段匹配正则表达式条件,并且运算。
|
Condition |
limit(int limit)
限制查询结果的返回行数
|
Condition |
limit(int offset,
int limit)
限制查询结果的返回行数
|
<T,F> Condition |
matches(LogicalOperatorType logicalOperatorType,
Fn<T,F> fn,
String regex) |
<T,F> FunctionCondition |
matchesFunction(LogicalOperatorType logicalOperatorType,
Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> FunctionCondition |
orFindInSet(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> Condition |
orFindInSet(Fn<T,F> fn,
Object item)
添加字段在指定集合中条件,或运算(使用 FIND_IN_SET 函数)。
|
<T,F> Condition |
orFindInSet(Fn<T,F> fn,
Object item,
String separator)
添加字段在指定集合中条件,或运算(使用 FIND_IN_SET 函数),并指定分隔符。
|
<T,F> FunctionCondition |
orMatches(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> Condition |
orMatches(Fn<T,F> fn,
String regex)
添加字段匹配正则表达式条件,或运算。
|
protected SqlDialect |
sqlDialect() |
andBetween, andBetween, andBetween, andCondition, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andExists, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andIn, andIn, andIn, andIn, andIn, andIn, andIsNotNull, andIsNull, andLessThan, andLessThan, andLessThan, andLessThan, andLessThan, andLessThan, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLike, andNotBetween, andNotBetween, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotExists, andNotIn, andNotIn, andNotIn, andNotIn, andNotIn, andNotLike, executeFunctionToString, getParameterBinder, getWhereConditionSyntax, logicalOperatorType, logicalOperatorType, orBetween, orBetween, orBetween, orCondition, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orExists, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orIn, orIn, orIn, orIn, orIn, orIsNotNull, orIsNull, orLessThan, orLessThan, orLessThan, orLessThan, orLessThan, orLessThan, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLike, orNotBetween, orNotBetween, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotExists, orNotIn, orNotIn, orNotIn, orNotIn, orNotIn, orNotLikeprotected SqlDialect sqlDialect()
sqlDialect in class GenericWhereConditionpublic <T,F> Condition andMatches(Fn<T,F> fn, String regex)
ConditionandMatches in interface ConditionandMatches in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数regex - 正则表达式模式public <T,F> Condition orMatches(Fn<T,F> fn, String regex)
ConditionorMatches in interface ConditionorMatches in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数regex - 正则表达式模式public <T,F> Condition matches(LogicalOperatorType logicalOperatorType, Fn<T,F> fn, String regex)
public <T,F> FunctionCondition andMatches(Fn<T,F> fn, ColumFunction columFunction)
andMatches in interface FunctionConditionandMatches in class GenericWhereConditionpublic <T,F> FunctionCondition orMatches(Fn<T,F> fn, ColumFunction columFunction)
orMatches in interface FunctionConditionorMatches in class GenericWhereConditionpublic <T,F> FunctionCondition matchesFunction(LogicalOperatorType logicalOperatorType, Fn<T,F> fn, ColumFunction columFunction)
public <T,F> Condition andFindInSet(Fn<T,F> fn, Object item)
ConditionandFindInSet in interface ConditionandFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目public <T,F> Condition andFindInSet(Fn<T,F> fn, Object item, String separator)
ConditionandFindInSet in interface ConditionandFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目separator - 分隔符public <T,F> Condition orFindInSet(Fn<T,F> fn, Object item)
ConditionorFindInSet in interface ConditionorFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目public <T,F> Condition orFindInSet(Fn<T,F> fn, Object item, String separator)
ConditionorFindInSet in interface ConditionorFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目separator - 分隔符public <T,F> FunctionCondition andFindInSet(Fn<T,F> fn, ColumFunction columFunction)
andFindInSet in interface FunctionConditionandFindInSet in class GenericWhereConditionpublic <T,F> FunctionCondition orFindInSet(Fn<T,F> fn, ColumFunction columFunction)
orFindInSet in interface FunctionConditionorFindInSet in class GenericWhereConditionpublic Condition limit(int limit)
Conditionlimit in interface Conditionlimit in class GenericWhereConditionlimit - 返回的最大行数Copyright © 2024 Dynamic-SQL. All rights reserved.