br.com.objectos.way.sql.Select18 Maven / Gradle / Ivy
package br.com.objectos.way.sql;
import br.com.objectos.way.db.Result;
import br.com.objectos.way.db.SelectBuilder;
import br.com.objectos.way.db.Selectable;
import br.com.objectos.way.db.SelectableFrom;
import javax.annotation.Generated;
@Generated("br.com.objectos.way.sql.BootProcessor")
public final class Select18 extends SelectNode.First> implements Select {
private final T1 column1;
private final T2 column2;
private final T3 column3;
private final T4 column4;
private final T5 column5;
private final T6 column6;
private final T7 column7;
private final T8 column8;
private final T9 column9;
private final T10 column10;
private final T11 column11;
private final T12 column12;
private final T13 column13;
private final T14 column14;
private final T15 column15;
private final T16 column16;
private final T17 column17;
private final T18 column18;
Select18(T1 column1, T2 column2, T3 column3, T4 column4, T5 column5, T6 column6, T7 column7, T8 column8, T9 column9, T10 column10, T11 column11, T12 column12, T13 column13, T14 column14, T15 column15, T16 column16, T17 column17, T18 column18) {
this.column1 = column1;
this.column2 = column2;
this.column3 = column3;
this.column4 = column4;
this.column5 = column5;
this.column6 = column6;
this.column7 = column7;
this.column8 = column8;
this.column9 = column9;
this.column10 = column10;
this.column11 = column11;
this.column12 = column12;
this.column13 = column13;
this.column14 = column14;
this.column15 = column15;
this.column16 = column16;
this.column17 = column17;
this.column18 = column18;
}
@Override
public SelectFrom18 from(SelectableFrom table) {
return new SelectFrom18<>(this, table);
}
@Override
ResultMapper> mapper() {
return this::map;
}
@Override
SelectBuilder write0(SelectBuilder sql) {
return sql.select(column1, column2, column3, column4, column5, column6, column7, column8, column9, column10, column11, column12, column13, column14, column15, column16, column17, column18);
}
@SuppressWarnings("unchecked")
private Row18 map(Result rs) {
T1 value1 = (T1) column1.read(rs, 1);
T2 value2 = (T2) column2.read(rs, 2);
T3 value3 = (T3) column3.read(rs, 3);
T4 value4 = (T4) column4.read(rs, 4);
T5 value5 = (T5) column5.read(rs, 5);
T6 value6 = (T6) column6.read(rs, 6);
T7 value7 = (T7) column7.read(rs, 7);
T8 value8 = (T8) column8.read(rs, 8);
T9 value9 = (T9) column9.read(rs, 9);
T10 value10 = (T10) column10.read(rs, 10);
T11 value11 = (T11) column11.read(rs, 11);
T12 value12 = (T12) column12.read(rs, 12);
T13 value13 = (T13) column13.read(rs, 13);
T14 value14 = (T14) column14.read(rs, 14);
T15 value15 = (T15) column15.read(rs, 15);
T16 value16 = (T16) column16.read(rs, 16);
T17 value17 = (T17) column17.read(rs, 17);
T18 value18 = (T18) column18.read(rs, 18);
return Row18.of(value1, value2, value3, value4, value5, value6, value7, value8, value9, value10, value11, value12, value13, value14, value15, value16, value17, value18);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy