类 AbstractExampleCriteriaCriterion<T>

java.lang.Object
cn.virens.common.mapper.example.base.AbstractExampleCriteria
cn.virens.common.mapper.example.base.AbstractExampleCriteriaCriterion<T>
所有已实现的接口:
Serializable
直接已知子类:
ExampleCriteria, ExampleJoin

public abstract class AbstractExampleCriteriaCriterion<T> extends AbstractExampleCriteria
另请参阅:
  • 字段详细资料

    • criterionList

      protected final List<T> criterionList
  • 构造器详细资料

    • AbstractExampleCriteriaCriterion

      public AbstractExampleCriteriaCriterion(String andOr, String condition, Object value1, Object value2)
    • AbstractExampleCriteriaCriterion

      public AbstractExampleCriteriaCriterion(String andOr, String condition, Object value1)
    • AbstractExampleCriteriaCriterion

      public AbstractExampleCriteriaCriterion(String andOr, String condition)
  • 方法详细资料

    • andIsNull

      public T andIsNull(String column) throws APIException
      添加is null条件(AND)
      参数:
      column - 字段
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andIsNotNull

      public T andIsNotNull(String column) throws APIException
      添加 is not null 条件(AND)
      参数:
      column - 字段
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andEqualTo

      public T andEqualTo(String column, Object value) throws APIException
      添加等于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andNotEqualTo

      public T andNotEqualTo(String column, Object value) throws APIException
      添加不等于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andGreaterThan

      public T andGreaterThan(String column, Object value) throws APIException
      添加大于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andGreaterThanOrEqualTo

      public T andGreaterThanOrEqualTo(String column, Object value) throws APIException
      添加大于等于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andLessThan

      public T andLessThan(String column, Object value) throws APIException
      添加小于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andLessThanOrEqualTo

      public T andLessThanOrEqualTo(String column, Object value) throws APIException
      添加小于等于条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andIn

      public T andIn(String column, Iterable<?> values) throws APIException
      添加IN条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andNotIn

      public T andNotIn(String column, Iterable<?> values) throws APIException
      添加NOT IN条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andBetween

      public T andBetween(String column, Object value1, Object value2) throws APIException
      添加between条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andNotBetween

      public T andNotBetween(String column, Object value1, Object value2) throws APIException
      添加not between条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andLike

      public T andLike(String column, String value) throws APIException
      添加like条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andNotLike

      public T andNotLike(String column, String value) throws APIException
      添加not like条件(AND)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andCondition

      public T andCondition(String condition) throws APIException
      添加通用条件(AND)
      参数:
      condition - 条件
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • andCondition

      public T andCondition(String condition, Object value) throws APIException
      添加通用条件(AND)
      参数:
      condition - 条件
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orIsNull

      public T orIsNull(String column) throws APIException
      添加is null条件(OR)
      参数:
      column - 字段
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orIsNotNull

      public T orIsNotNull(String column) throws APIException
      添加 is not null 条件(OR)
      参数:
      column - 字段
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orEqualTo

      public T orEqualTo(String column, Object value) throws APIException
      添加等于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orNotEqualTo

      public T orNotEqualTo(String column, Object value) throws APIException
      添加不等于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orGreaterThan

      public T orGreaterThan(String column, Object value) throws APIException
      添加大于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orGreaterThanOrEqualTo

      public T orGreaterThanOrEqualTo(String column, Object value) throws APIException
      添加大于等于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orLessThan

      public T orLessThan(String column, Object value) throws APIException
      添加小于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orLessThanOrEqualTo

      public T orLessThanOrEqualTo(String column, Object value) throws APIException
      添加小于等于条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orIn

      public T orIn(String column, Iterable<?> values) throws APIException
      添加IN条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orNotIn

      public T orNotIn(String column, Iterable<?> values) throws APIException
      添加NOT IN条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orBetween

      public T orBetween(String column, Object value1, Object value2) throws APIException
      添加between条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orNotBetween

      public T orNotBetween(String column, Object value1, Object value2) throws APIException
      添加not between条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orLike

      public T orLike(String column, String value) throws APIException
      添加like条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orNotLike

      public T orNotLike(String column, String value) throws APIException
      添加not like条件(OR)
      参数:
      column - 字段
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orCondition

      public T orCondition(String condition) throws APIException
      添加通用条件(OR)
      参数:
      condition - 条件
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • orCondition

      public T orCondition(String condition, Object value) throws APIException
      添加通用条件(OR)
      参数:
      condition - 条件
      value - 值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • addCriterion

      protected abstract T addCriterion(String andOr, String condition) throws APIException
      将查询规则添加到当前实体
      参数:
      andOr - 是否OR匹配
      condition - 条件
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • addCriterion

      protected abstract T addCriterion(String andOr, String condition, Object value) throws APIException
      将查询规则添加到当前实体
      参数:
      andOr - 是否OR匹配
      condition - 条件
      value - 条件值
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • addCriterion

      protected abstract T addCriterion(String andOr, String condition, Object value1, Object value2) throws APIException
      将查询规则添加到当前实体
      参数:
      andOr - 是否OR匹配
      condition - 条件
      value1 - 条件值1
      value2 - 条件值2
      返回:
      当前实例
      抛出:
      APIException - 一般异常
    • enumv

      protected static Object enumv(Object value) throws APIException
      枚举类处理
      参数:
      value - 疑似枚举对象
      返回:
      枚举值或者输入值
      抛出:
      APIException - 一般异常
    • isVerify

      public boolean isVerify() throws APIException
      从类复制的说明: AbstractExampleCriteria
      验证当前条件是否有效
      覆盖:
      isVerify 在类中 AbstractExampleCriteria
      返回:
      条件是否有效
      抛出:
      APIException - 一般异常
    • getCriterionList

      public List<T> getCriterionList()
      获取条件列表
      返回:
      条件列表