All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db.sql.api.cmd.executor.method.condition.ICompare Maven / Gradle / Ivy

There is a newer version: 1.7.6-RC2
Show newest version
package db.sql.api.cmd.executor.method.condition;

import db.sql.api.cmd.LikeMode;
import db.sql.api.cmd.executor.method.condition.compare.*;

import java.io.Serializable;

/**
 * 比较器
 *
 * @param      返回
 * @param  列
 * @param       比较值
 */
public interface ICompare extends
        IEqGetterCompare,
        IEqGetterPredicateCompare,
        INeGetterCompare,
        INeGetterPredicateCompare,
        IGtGetterCompare,
        IGtGetterPredicateCompare,
        IGteGetterCompare,
        IGteGetterPredicateCompare,
        ILtGetterCompare,
        ILtGetterPredicateCompare,
        ILteGetterCompare,
        ILteGetterPredicateCompare,
        ILikeGetterCompare,
        ILikeGetterPredicateCompare,
        INotLikeGetterCompare,
        INotLikeGetterPredicateCompare,
        IBetweenGetterCompare,
        IBetweenGetterPredicateCompare,
        INotBetweenGetterCompare,
        INotBetweenGetterPredicateCompare,
        IIsNullGetterCompare,
        IIsNotNullGetterCompare,
        IEmptyGetterCompare,
        INotEmptyGetterCompare {

    RV empty(COLUMN column);

    RV notEmpty(COLUMN column);

    RV eq(COLUMN column, V value);

    RV ne(COLUMN column, V value);

    RV gt(COLUMN column, V value);

    RV gte(COLUMN column, V value);

    RV lt(COLUMN column, V value);

    RV lte(COLUMN column, V value);

    default RV like(COLUMN column, String value) {
        return this.like(LikeMode.DEFAULT, column, value);
    }

    RV like(LikeMode mode, COLUMN column, String value);

    default RV notLike(COLUMN column, String value) {
        return this.notLike(LikeMode.DEFAULT, column, value);
    }

    RV notLike(LikeMode mode, COLUMN column, String value);

    RV between(COLUMN column, Serializable value, Serializable value2);

    RV notBetween(COLUMN column, Serializable value, Serializable value2);

    RV isNull(COLUMN column);

    RV isNotNull(COLUMN column);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy