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

fun.langel.cql.node.OrderBy Maven / Gradle / Ivy

The newest version!
package fun.langel.cql.node;

import java.util.Arrays;
import java.util.List;

/**
 * @author [email protected](GuHan)
 * @since 2022/8/1 21:42
 **/
public class OrderBy implements Node {

    private List columns;

    private OrderBy(final List columns) {
        this.columns = columns;
    }

    public static OrderBy of(final List columns) {
        return new OrderBy(columns);
    }

    public static OrderBy of(Column... columns) {
        return of(Arrays.asList(columns));
    }

    public List columns() {
        return this.columns;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy