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

br.com.objectos.way.sql.SimpleSelectOrderBy17 Maven / Gradle / Ivy

There is a newer version: 0.4.1
Show newest version
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 SimpleSelectOrderBy17 extends SelectNode> implements SimpleSelectOrderBy {
  private final Order[] orderArray;

  SimpleSelectOrderBy17(SelectNode> previous, Order[] orderArray) {
    super(previous);
    this.orderArray = orderArray;
  }

  @Override
  public SimpleSelectQuery17 compile(Dialect dialect) {
    return new SimpleSelectQuery17<>(dialect, this);
  }

  @Override
  SelectBuilder write0(SelectBuilder sql) {
    return sql.orderBy(orderArray);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy