com.yuehuanghun.mybatis.milu.criteria.LambdaUpdatePredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-milu Show documentation
Show all versions of mybatis-milu Show documentation
A mybatis orm enhance framework.
package com.yuehuanghun.mybatis.milu.criteria;
import java.util.function.Consumer;
import com.yuehuanghun.mybatis.milu.annotation.Mode;
import com.yuehuanghun.mybatis.milu.criteria.lambda.SerializableFunction;
public interface LambdaUpdatePredicate extends LambdaPredicate {
/**
* 设置默认的条件生效模式,默认为Mode.NOT_NULL
* @param updateMode 更新字段生效模式
* @return 当前对象
*/
LambdaUpdatePredicate updateMode(Mode updateMode);
/**
* 返回更新模式
* @return 更新模式
*/
Mode getUpdateMode();
@Override
LambdaUpdatePredicate apply(T entity);
@Override
LambdaUpdatePredicate conditionMode(Mode conditionMode);
@Override
LambdaUpdatePredicate and(Condition... conditions);
@Override
LambdaUpdatePredicate and(Consumer> predicate);
@Override
LambdaUpdatePredicate or(Condition... conditions);
@Override
LambdaUpdatePredicate or(Consumer> predicate);
@Override
LambdaUpdatePredicate not(Condition... conditions);
@Override
LambdaUpdatePredicate not(Consumer> predicate);
@Override
LambdaUpdatePredicate andP(Consumer predicate);
@Override
LambdaUpdatePredicate orP(Consumer predicate);
@Override
LambdaUpdatePredicate notP(Consumer predicate);
@Override
LambdaUpdatePredicate eq(SerializableFunction fn);
@Override
LambdaUpdatePredicate eq(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate neq(SerializableFunction fn);
@Override
LambdaUpdatePredicate neq(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate lt(SerializableFunction fn);
@Override
LambdaUpdatePredicate lt(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate lte(SerializableFunction fn);
@Override
LambdaUpdatePredicate lte(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate gt(SerializableFunction fn);
@Override
LambdaUpdatePredicate gt(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate gte(SerializableFunction fn);
@Override
LambdaUpdatePredicate gte(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate like(SerializableFunction fn);
@Override
LambdaUpdatePredicate like(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate notLike(SerializableFunction fn);
@Override
LambdaUpdatePredicate notLike(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate contain(SerializableFunction fn);
@Override
LambdaUpdatePredicate contain(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate notContain(SerializableFunction fn);
@Override
LambdaUpdatePredicate notContain(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate startWith(SerializableFunction fn);
@Override
LambdaUpdatePredicate startWith(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate endWith(SerializableFunction fn);
@Override
LambdaUpdatePredicate endWith(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate between(SerializableFunction fn, Object startValue, Object endValue);
@Override
LambdaUpdatePredicate between(boolean accept, SerializableFunction fn, Object startValue,
Object endValue);
@Override
LambdaUpdatePredicate isNull(SerializableFunction fn);
@Override
LambdaUpdatePredicate isNull(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate notNull(SerializableFunction fn);
@Override
LambdaUpdatePredicate notNull(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate in(SerializableFunction fn);
@Override
LambdaUpdatePredicate in(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate notIn(SerializableFunction fn);
@Override
LambdaUpdatePredicate notIn(boolean accept, SerializableFunction fn);
@Override
LambdaUpdatePredicate eq(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate eq(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate neq(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate neq(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate lt(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate lt(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate lte(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate lte(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate gt(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate gt(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate gte(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate gte(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate like(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate like(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notLike(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notLike(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate contain(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate contain(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notContain(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notContain(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate startWith(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate startWith(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate endWith(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate endWith(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate in(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate in(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notIn(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate notIn(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate regex(SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate regex(boolean accept, SerializableFunction getterFn, Object value);
@Override
LambdaUpdatePredicate undeleted();
@Override
LambdaUpdatePredicate deleted();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy