br.com.objectos.way.sql.SimpleSelectOrderBy21 Maven / Gradle / Ivy
package br.com.objectos.way.sql;
import br.com.objectos.way.db.Dialect;
import br.com.objectos.way.db.Order;
import br.com.objectos.way.db.SelectBuilder;
import br.com.objectos.way.db.Selectable;
import javax.annotation.Generated;
@Generated("br.com.objectos.way.sql.BootProcessor")
public final class SimpleSelectOrderBy21 extends SelectNode> implements SimpleSelectOrderBy {
private final Order[] orderArray;
SimpleSelectOrderBy21(SelectNode> previous, Order[] orderArray) {
super(previous);
this.orderArray = orderArray;
}
@Override
public SimpleSelectQuery21 compile(Dialect dialect) {
return new SimpleSelectQuery21<>(dialect, this);
}
@Override
SelectBuilder write0(SelectBuilder sql) {
return sql.orderBy(orderArray);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy