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> GenericWhereCondition |
andFindInSet(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> GenericWhereCondition |
andFindInSet(Fn<T,F> fn,
Object item)
添加字段在指定集合中条件,并且运算(使用 FIND_IN_SET 函数)。
|
<T,F> GenericWhereCondition |
andFindInSet(Fn<T,F> fn,
Object item,
String separator)
添加字段在指定集合中条件,并且运算(使用 FIND_IN_SET 函数),并指定分隔符。
|
<T,F> GenericWhereCondition |
andMatches(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> GenericWhereCondition |
andMatches(Fn<T,F> fn,
String regex)
添加字段匹配正则表达式条件,并且运算。
|
GenericWhereCondition |
limit(int limit)
限制查询结果的返回行数。
|
GenericWhereCondition |
limit(int offset,
int limit)
限制查询结果的返回行数。
|
<T,F> GenericWhereCondition |
matches(LogicalOperatorType logicalOperatorType,
Fn<T,F> fn,
String regex) |
<T,F> GenericWhereCondition |
matchesFunction(LogicalOperatorType logicalOperatorType,
Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> GenericWhereCondition |
orFindInSet(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> GenericWhereCondition |
orFindInSet(Fn<T,F> fn,
Object item)
添加字段在指定集合中条件,或运算(使用 FIND_IN_SET 函数)。
|
<T,F> GenericWhereCondition |
orFindInSet(Fn<T,F> fn,
Object item,
String separator)
添加字段在指定集合中条件,或运算(使用 FIND_IN_SET 函数),并指定分隔符。
|
<T,F> GenericWhereCondition |
orMatches(Fn<T,F> fn,
ColumFunction columFunction) |
<T,F> GenericWhereCondition |
orMatches(Fn<T,F> fn,
String regex)
添加字段匹配正则表达式条件,或运算。
|
protected SqlDialect |
sqlDialect() |
andBetween, andBetween, andBetween, andCondition, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andExists, andFunction, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andIn, andIn, andIn, andIn, andIn, andIn, andIn, andIsNotNull, andIsNotNull, andIsNull, andIsNull, andLessThan, andLessThan, andLessThan, andLessThan, andLessThan, andLessThan, andLessThan, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLike, andNotBetween, andNotBetween, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotExists, andNotIn, andNotIn, andNotIn, andNotIn, andNotIn, andNotIn, andNotLike, executeFunctionToString, getParameterBinder, getWhereConditionSyntax, logicalOperatorType, logicalOperatorType, orBetween, orBetween, orBetween, orCondition, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orEqualTo, orExists, orFunction, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orIn, orIn, orIn, orIn, orIn, orIn, orIsNotNull, orIsNotNull, orIsNull, orIsNull, orLessThan, orLessThan, orLessThan, orLessThan, orLessThan, orLessThan, orLessThan, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLike, orNotBetween, orNotBetween, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotExists, orNotIn, orNotIn, orNotIn, orNotIn, orNotIn, orNotIn, orNotLike, sqlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandBetween, andBetween, andCondition, andEqualTo, andEqualTo, andEqualTo, andEqualTo, andFindInSet, andFindInSet, andFunction, andGreaterThan, andGreaterThan, andGreaterThan, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andGreaterThanOrEqualTo, andIn, andIn, andIn, andIsNotNull, andIsNotNull, andIsNull, andIsNull, andLessThan, andLessThan, andLessThan, andLessThanOrEqualTo, andLessThanOrEqualTo, andLessThanOrEqualTo, andLike, andMatches, andNotBetween, andNotEqualTo, andNotEqualTo, andNotEqualTo, andNotIn, andNotIn, andNotLike, limit, limit, orBetween, orBetween, orCondition, orEqualTo, orEqualTo, orEqualTo, orFindInSet, orFindInSet, orFunction, orGreaterThan, orGreaterThan, orGreaterThan, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orGreaterThanOrEqualTo, orIn, orIn, orIsNotNull, orIsNotNull, orIsNull, orIsNull, orLessThan, orLessThan, orLessThan, orLessThanOrEqualTo, orLessThanOrEqualTo, orLessThanOrEqualTo, orLike, orMatches, orNotBetween, orNotEqualTo, orNotEqualTo, orNotEqualTo, orNotIn, orNotIn, orNotLike, selfprotected SqlDialect sqlDialect()
sqlDialect in class GenericWhereConditionpublic <T,F> GenericWhereCondition andMatches(Fn<T,F> fn, String regex)
ConditionandMatches in interface Condition<GenericWhereCondition>andMatches in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数regex - 正则表达式模式public <T,F> GenericWhereCondition orMatches(Fn<T,F> fn, String regex)
ConditionorMatches in interface Condition<GenericWhereCondition>orMatches in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数regex - 正则表达式模式public <T,F> GenericWhereCondition matches(LogicalOperatorType logicalOperatorType, Fn<T,F> fn, String regex)
public <T,F> GenericWhereCondition andMatches(Fn<T,F> fn, ColumFunction columFunction)
andMatches in interface FunctionCondition<GenericWhereCondition>andMatches in class GenericWhereConditionpublic <T,F> GenericWhereCondition orMatches(Fn<T,F> fn, ColumFunction columFunction)
orMatches in interface FunctionCondition<GenericWhereCondition>orMatches in class GenericWhereConditionpublic <T,F> GenericWhereCondition matchesFunction(LogicalOperatorType logicalOperatorType, Fn<T,F> fn, ColumFunction columFunction)
public <T,F> GenericWhereCondition andFindInSet(Fn<T,F> fn, Object item)
ConditionandFindInSet in interface Condition<GenericWhereCondition>andFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目public <T,F> GenericWhereCondition andFindInSet(Fn<T,F> fn, Object item, String separator)
ConditionandFindInSet in interface Condition<GenericWhereCondition>andFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目separator - 分隔符public <T,F> GenericWhereCondition orFindInSet(Fn<T,F> fn, Object item)
ConditionorFindInSet in interface Condition<GenericWhereCondition>orFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目public <T,F> GenericWhereCondition orFindInSet(Fn<T,F> fn, Object item, String separator)
ConditionorFindInSet in interface Condition<GenericWhereCondition>orFindInSet in class GenericWhereConditionT - 实体类类型F - 字段类型fn - 用于获取字段值的函数item - 指定的项目separator - 分隔符public <T,F> GenericWhereCondition andFindInSet(Fn<T,F> fn, ColumFunction columFunction)
andFindInSet in interface FunctionCondition<GenericWhereCondition>andFindInSet in class GenericWhereConditionpublic <T,F> GenericWhereCondition orFindInSet(Fn<T,F> fn, ColumFunction columFunction)
orFindInSet in interface FunctionCondition<GenericWhereCondition>orFindInSet in class GenericWhereConditionpublic GenericWhereCondition limit(int limit)
Conditionlimit in interface Condition<GenericWhereCondition>limit in class GenericWhereConditionlimit - 返回的最大行数public GenericWhereCondition limit(int offset, int limit)
Conditionlimit in interface Condition<GenericWhereCondition>limit in class GenericWhereConditionoffset - 需要跳过的行数limit - 返回的最大行数Copyright © 2024–2025 Dynamic-SQL. All rights reserved.