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

group.flyfish.fluent.chain.Order Maven / Gradle / Ivy

package group.flyfish.fluent.chain;

import group.flyfish.fluent.utils.sql.SFunction;

/**
 * 排序链式声明
 *
 * @author wangyu
 */
public interface Order extends SQLSegment {

    /**
     * 以字段排序
     *
     * @param field 字段
     * @param    泛型
     * @return 链式调用
     */
    static  Order by(SFunction field) {
        return new OrderImpl(field);
    }

    Order asc();

    Order desc();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy