Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.jooq.impl.DefaultDSLContext Maven / Gradle / Ivy
/**
* Copyright (c) 2009-2014, Data Geekery GmbH (http://www.datageekery.com)
* All rights reserved.
*
* This work is dual-licensed
* - under the Apache Software License 2.0 (the "ASL")
* - under the jOOQ License and Maintenance Agreement (the "jOOQ License")
* =============================================================================
* You may choose which license applies to you:
*
* - If you're using this work with Open Source databases, you may choose
* either ASL or jOOQ License.
* - If you're using this work with at least one commercial database, you must
* choose jOOQ License
*
* For more information, please visit http://www.jooq.org/licenses
*
* Apache Software License 2.0:
* -----------------------------------------------------------------------------
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* jOOQ License and Maintenance Agreement:
* -----------------------------------------------------------------------------
* Data Geekery grants the Customer the non-exclusive, timely limited and
* non-transferable license to install and use the Software under the terms of
* the jOOQ License and Maintenance Agreement.
*
* This library is distributed with a LIMITED WARRANTY. See the jOOQ License
* and Maintenance Agreement for more details: http://www.jooq.org/licensing
*/
package org.jooq.impl;
import static org.jooq.conf.ParamType.INLINED;
import static org.jooq.conf.ParamType.NAMED;
import static org.jooq.conf.ParamType.NAMED_OR_INLINED;
import static org.jooq.impl.DSL.field;
import static org.jooq.impl.DSL.fieldByName;
import static org.jooq.impl.DSL.queryPart;
import static org.jooq.impl.DSL.sequenceByName;
import static org.jooq.impl.DSL.tableByName;
import static org.jooq.impl.DSL.template;
import static org.jooq.impl.DSL.trueCondition;
import static org.jooq.impl.Utils.list;
import static org.jooq.tools.Convert.convert;
import java.io.IOException;
import java.io.Serializable;
import java.io.StringReader;
import java.math.BigInteger;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import javax.sql.DataSource;
import org.jooq.AlterSequenceRestartStep;
import org.jooq.AlterTableStep;
import org.jooq.Attachable;
import org.jooq.Batch;
import org.jooq.BatchBindStep;
import org.jooq.BindContext;
import org.jooq.CommonTableExpression;
import org.jooq.Condition;
import org.jooq.Configuration;
import org.jooq.ConnectionProvider;
import org.jooq.CreateIndexStep;
import org.jooq.CreateSequenceFinalStep;
import org.jooq.CreateTableAsStep;
import org.jooq.CreateViewAsStep;
import org.jooq.Cursor;
import org.jooq.DSLContext;
import org.jooq.DataType;
import org.jooq.DeleteQuery;
import org.jooq.DeleteWhereStep;
import org.jooq.DropIndexFinalStep;
import org.jooq.DropSequenceFinalStep;
import org.jooq.DropTableStep;
import org.jooq.DropViewFinalStep;
import org.jooq.ExecuteContext;
import org.jooq.ExecuteListener;
import org.jooq.Field;
import org.jooq.InsertQuery;
import org.jooq.InsertSetStep;
import org.jooq.InsertValuesStep1;
import org.jooq.InsertValuesStep10;
import org.jooq.InsertValuesStep11;
import org.jooq.InsertValuesStep12;
import org.jooq.InsertValuesStep13;
import org.jooq.InsertValuesStep14;
import org.jooq.InsertValuesStep15;
import org.jooq.InsertValuesStep16;
import org.jooq.InsertValuesStep17;
import org.jooq.InsertValuesStep18;
import org.jooq.InsertValuesStep19;
import org.jooq.InsertValuesStep2;
import org.jooq.InsertValuesStep20;
import org.jooq.InsertValuesStep21;
import org.jooq.InsertValuesStep22;
import org.jooq.InsertValuesStep3;
import org.jooq.InsertValuesStep4;
import org.jooq.InsertValuesStep5;
import org.jooq.InsertValuesStep6;
import org.jooq.InsertValuesStep7;
import org.jooq.InsertValuesStep8;
import org.jooq.InsertValuesStep9;
import org.jooq.InsertValuesStepN;
import org.jooq.LoaderOptionsStep;
import org.jooq.MergeKeyStep1;
import org.jooq.MergeKeyStep10;
import org.jooq.MergeKeyStep11;
import org.jooq.MergeKeyStep12;
import org.jooq.MergeKeyStep13;
import org.jooq.MergeKeyStep14;
import org.jooq.MergeKeyStep15;
import org.jooq.MergeKeyStep16;
import org.jooq.MergeKeyStep17;
import org.jooq.MergeKeyStep18;
import org.jooq.MergeKeyStep19;
import org.jooq.MergeKeyStep2;
import org.jooq.MergeKeyStep20;
import org.jooq.MergeKeyStep21;
import org.jooq.MergeKeyStep22;
import org.jooq.MergeKeyStep3;
import org.jooq.MergeKeyStep4;
import org.jooq.MergeKeyStep5;
import org.jooq.MergeKeyStep6;
import org.jooq.MergeKeyStep7;
import org.jooq.MergeKeyStep8;
import org.jooq.MergeKeyStep9;
import org.jooq.MergeKeyStepN;
import org.jooq.MergeUsingStep;
import org.jooq.Meta;
import org.jooq.Param;
import org.jooq.Query;
import org.jooq.QueryPart;
import org.jooq.Record;
import org.jooq.Record1;
import org.jooq.Record10;
import org.jooq.Record11;
import org.jooq.Record12;
import org.jooq.Record13;
import org.jooq.Record14;
import org.jooq.Record15;
import org.jooq.Record16;
import org.jooq.Record17;
import org.jooq.Record18;
import org.jooq.Record19;
import org.jooq.Record2;
import org.jooq.Record20;
import org.jooq.Record21;
import org.jooq.Record22;
import org.jooq.Record3;
import org.jooq.Record4;
import org.jooq.Record5;
import org.jooq.Record6;
import org.jooq.Record7;
import org.jooq.Record8;
import org.jooq.Record9;
import org.jooq.RenderContext;
import org.jooq.Result;
import org.jooq.ResultQuery;
import org.jooq.SQLDialect;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.SelectQuery;
import org.jooq.SelectSelectStep;
import org.jooq.SelectWhereStep;
import org.jooq.Sequence;
import org.jooq.Table;
import org.jooq.TableLike;
import org.jooq.TableRecord;
import org.jooq.TransactionProvider;
import org.jooq.TransactionalCallable;
import org.jooq.TransactionalRunnable;
import org.jooq.TruncateIdentityStep;
import org.jooq.UDT;
import org.jooq.UDTRecord;
import org.jooq.UpdatableRecord;
import org.jooq.UpdateQuery;
import org.jooq.UpdateSetFirstStep;
import org.jooq.WithAsStep;
import org.jooq.WithStep;
import org.jooq.conf.Settings;
import org.jooq.exception.DataAccessException;
import org.jooq.exception.InvalidResultException;
import org.jooq.exception.SQLDialectNotSupportedException;
import org.jooq.impl.BatchCRUD.Action;
import org.jooq.tools.JooqLogger;
import org.jooq.tools.csv.CSVReader;
import org.jooq.tools.reflect.Reflect;
import org.jooq.tools.reflect.ReflectException;
/**
* A default implementation for {@link DSLContext}.
*
* You may use this as a base implementation for custom {@link DSLContext}
* subtypes preventing potential API breakage when upgrading jOOQ, or to
* delegate DSL method calls to your custom implementations.
*
* @author Lukas Eder
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public class DefaultDSLContext extends AbstractScope implements DSLContext, Serializable {
/**
* Generated UID
*/
private static final long serialVersionUID = 2681360188806309513L;
private static final JooqLogger log = JooqLogger.getLogger(DefaultDSLContext.class);
// -------------------------------------------------------------------------
// XXX Constructors
// -------------------------------------------------------------------------
public DefaultDSLContext(SQLDialect dialect) {
this(dialect, null);
}
public DefaultDSLContext(SQLDialect dialect, Settings settings) {
this(new DefaultConfiguration(new NoConnectionProvider(), null, null, null, null, null, dialect, settings, null));
}
public DefaultDSLContext(Connection connection, SQLDialect dialect) {
this(connection, dialect, null);
}
public DefaultDSLContext(Connection connection, SQLDialect dialect, Settings settings) {
this(new DefaultConfiguration(new DefaultConnectionProvider(connection), null, null, null, null, null, dialect, settings, null));
}
public DefaultDSLContext(DataSource datasource, SQLDialect dialect) {
this(datasource, dialect, null);
}
public DefaultDSLContext(DataSource datasource, SQLDialect dialect, Settings settings) {
this(new DefaultConfiguration(new DataSourceConnectionProvider(datasource), null, null, null, null, null, dialect, settings, null));
}
public DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect) {
this(connectionProvider, dialect, null);
}
public DefaultDSLContext(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) {
this(new DefaultConfiguration(connectionProvider, null, null, null, null, null, dialect, settings, null));
}
public DefaultDSLContext(Configuration configuration) {
super(configuration);
}
// -------------------------------------------------------------------------
// XXX Configuration API
// -------------------------------------------------------------------------
@Override
public Schema map(Schema schema) {
return Utils.getMappedSchema(configuration(), schema);
}
@Override
public Table map(Table table) {
return Utils.getMappedTable(configuration(), table);
}
// -------------------------------------------------------------------------
// XXX Convenience methods accessing the underlying Connection
// -------------------------------------------------------------------------
@Override
public Meta meta() {
return new MetaImpl(configuration());
}
// -------------------------------------------------------------------------
// XXX Transaction API
// -------------------------------------------------------------------------
@Override
public T transactionResult(TransactionalCallable transactional) {
T result = null;
DefaultTransactionContext ctx = new DefaultTransactionContext(configuration().derive());
TransactionProvider provider = ctx.configuration().transactionProvider();
try {
provider.begin(ctx);
result = transactional.run(ctx.configuration());
provider.commit(ctx);
}
catch (Exception cause) {
try {
provider.rollback(ctx.cause(cause));
}
// [#3718] Use reflection to support also JDBC 4.0
catch (Exception suppress) {
try {
Reflect.on(cause).call("addSuppressed", suppress);
}
catch (ReflectException ignore) {
log.error("Error when rolling back", suppress);
}
}
if (cause instanceof RuntimeException) {
throw (RuntimeException) cause;
}
else {
throw new DataAccessException("Rollback caused", cause);
}
}
return result;
}
@Override
public void transaction(final TransactionalRunnable transactional) {
transactionResult(new TransactionalCallable() {
@Override
public Void run(Configuration c) throws Exception {
transactional.run(c);
return null;
}
});
}
// -------------------------------------------------------------------------
// XXX RenderContext and BindContext accessors
// -------------------------------------------------------------------------
@Override
public RenderContext renderContext() {
return new DefaultRenderContext(configuration());
}
@Override
public String render(QueryPart part) {
return renderContext().render(part);
}
@Override
public String renderNamedParams(QueryPart part) {
return renderContext().paramType(NAMED).render(part);
}
@Override
public String renderNamedOrInlinedParams(QueryPart part) {
return renderContext().paramType(NAMED_OR_INLINED).render(part);
}
@Override
public String renderInlined(QueryPart part) {
return renderContext().paramType(INLINED).render(part);
}
@Override
public List extractBindValues(QueryPart part) {
List result = new ArrayList();
for (Param> param : extractParams0(part, false).values()) {
result.add(param.getValue());
}
return Collections.unmodifiableList(result);
}
@Override
public Map> extractParams(QueryPart part) {
return extractParams0(part, true);
}
final Map> extractParams0(QueryPart part, boolean includeInlinedParams) {
ParamCollector collector = new ParamCollector(configuration(), includeInlinedParams);
collector.visit(part);
return Collections.unmodifiableMap(collector.result);
}
@Override
public Param> extractParam(QueryPart part, String name) {
return extractParams(part).get(name);
}
@Override
public BindContext bindContext(PreparedStatement stmt) {
return new DefaultBindContext(configuration(), stmt);
}
@Override
@Deprecated
public int bind(QueryPart part, PreparedStatement stmt) {
return bindContext(stmt).visit(part).peekIndex();
}
// -------------------------------------------------------------------------
// XXX Attachable and Serializable API
// -------------------------------------------------------------------------
@Override
public void attach(Attachable... attachables) {
attach(Arrays.asList(attachables));
}
@Override
public void attach(Collection extends Attachable> attachables) {
for (Attachable attachable : attachables) {
attachable.attach(configuration());
}
}
// -------------------------------------------------------------------------
// XXX Access to the loader API
// -------------------------------------------------------------------------
@Override
public > LoaderOptionsStep loadInto(Table table) {
return new LoaderImpl(configuration(), table);
}
// -------------------------------------------------------------------------
// XXX Plain SQL API
// -------------------------------------------------------------------------
@Override
public Query query(String sql) {
return query(template(sql), new Object[0]);
}
@Override
public Query query(String sql, Object... bindings) {
return query(template(sql), bindings);
}
@Override
public Query query(String sql, QueryPart... parts) {
return query(template(sql), (Object[]) parts);
}
@SuppressWarnings("deprecation")
Query query(org.jooq.Template template, Object... parameters) {
return new SQLQuery(configuration(), queryPart(template, parameters));
}
@Override
public Result fetch(String sql) {
return resultQuery(sql).fetch();
}
@Override
public Result fetch(String sql, Object... bindings) {
return resultQuery(sql, bindings).fetch();
}
@Override
public Result fetch(String sql, QueryPart... parts) {
return resultQuery(sql, parts).fetch();
}
@SuppressWarnings("deprecation")
Result fetch(org.jooq.Template template, Object... parameters) {
return resultQuery(template, parameters).fetch();
}
@Override
public Cursor fetchLazy(String sql) {
return resultQuery(sql).fetchLazy();
}
@Override
public Cursor fetchLazy(String sql, Object... bindings) {
return resultQuery(sql, bindings).fetchLazy();
}
@Override
public Cursor fetchLazy(String sql, QueryPart... parts) {
return resultQuery(sql, parts).fetchLazy();
}
@SuppressWarnings("deprecation")
Cursor fetchLazy(org.jooq.Template template, Object... parameters) {
return resultQuery(template, parameters).fetchLazy();
}
@Override
public List> fetchMany(String sql) {
return resultQuery(sql).fetchMany();
}
@Override
public List> fetchMany(String sql, Object... bindings) {
return resultQuery(sql, bindings).fetchMany();
}
@Override
public List> fetchMany(String sql, QueryPart... parts) {
return resultQuery(sql, parts).fetchMany();
}
@SuppressWarnings("deprecation")
List> fetchMany(org.jooq.Template template, Object... parameters) {
return resultQuery(template, parameters).fetchMany();
}
@Override
public Record fetchOne(String sql) {
return resultQuery(sql).fetchOne();
}
@Override
public Record fetchOne(String sql, Object... bindings) {
return resultQuery(sql, bindings).fetchOne();
}
@Override
public Record fetchOne(String sql, QueryPart... parts) {
return resultQuery(sql, parts).fetchOne();
}
@SuppressWarnings("deprecation")
Record fetchOne(org.jooq.Template template, Object... parameters) {
return resultQuery(template, parameters).fetchOne();
}
@Override
public Object fetchValue(String sql) {
return fetchValue((ResultQuery) resultQuery(sql));
}
@Override
public Object fetchValue(String sql, Object... bindings) {
return fetchValue((ResultQuery) resultQuery(sql, bindings));
}
@Override
public Object fetchValue(String sql, QueryPart... parts) {
return fetchValue((ResultQuery) resultQuery(sql, parts));
}
@Override
public List> fetchValues(String sql) {
return fetchValues((ResultQuery) resultQuery(sql));
}
@Override
public List> fetchValues(String sql, Object... bindings) {
return fetchValues((ResultQuery) resultQuery(sql, bindings));
}
@Override
public List> fetchValues(String sql, QueryPart... parts) {
return fetchValues((ResultQuery) resultQuery(sql, parts));
}
@Override
public int execute(String sql) {
return query(sql).execute();
}
@Override
public int execute(String sql, Object... bindings) {
return query(sql, bindings).execute();
}
@Override
public int execute(String sql, QueryPart... parts) {
return query(sql, parts).execute();
}
@SuppressWarnings("deprecation")
int execute(org.jooq.Template template, Object... parameters) {
return query(template, parameters).execute();
}
@Override
public ResultQuery resultQuery(String sql) {
return resultQuery(template(sql), new Object[0]);
}
@Override
public ResultQuery resultQuery(String sql, Object... bindings) {
return resultQuery(template(sql), bindings);
}
@Override
public ResultQuery resultQuery(String sql, QueryPart... parts) {
return resultQuery(template(sql), (Object[]) parts);
}
@SuppressWarnings("deprecation")
ResultQuery resultQuery(org.jooq.Template template, Object... parameters) {
return new SQLResultQuery(configuration(), queryPart(template, parameters));
}
// -------------------------------------------------------------------------
// XXX JDBC convenience methods
// -------------------------------------------------------------------------
@Override
public Result fetch(ResultSet rs) {
return fetchLazy(rs).fetch();
}
@Override
public Result fetch(ResultSet rs, Field>... fields) {
return fetchLazy(rs, fields).fetch();
}
@Override
public Result fetch(ResultSet rs, DataType>... types) {
return fetchLazy(rs, types).fetch();
}
@Override
public Result fetch(ResultSet rs, Class>... types) {
return fetchLazy(rs, types).fetch();
}
@Override
public Record fetchOne(ResultSet rs) {
return Utils.fetchOne(fetchLazy(rs));
}
@Override
public Record fetchOne(ResultSet rs, Field>... fields) {
return Utils.fetchOne(fetchLazy(rs, fields));
}
@Override
public Record fetchOne(ResultSet rs, DataType>... types) {
return Utils.fetchOne(fetchLazy(rs, types));
}
@Override
public Record fetchOne(ResultSet rs, Class>... types) {
return Utils.fetchOne(fetchLazy(rs, types));
}
@Override
public Object fetchValue(ResultSet rs) {
return value1((Record1) fetchOne(rs));
}
@Override
public T fetchValue(ResultSet rs, Field field) {
return (T) value1((Record1) fetchOne(rs, field));
}
@Override
public T fetchValue(ResultSet rs, DataType type) {
return (T) value1((Record1) fetchOne(rs, type));
}
@Override
public T fetchValue(ResultSet rs, Class type) {
return (T) value1((Record1) fetchOne(rs, type));
}
@Override
public List> fetchValues(ResultSet rs) {
return fetch(rs).getValues(0);
}
@Override
public List fetchValues(ResultSet rs, Field field) {
return fetch(rs).getValues(field);
}
@Override
public List fetchValues(ResultSet rs, DataType type) {
return fetch(rs).getValues(0, type.getType());
}
@Override
public List fetchValues(ResultSet rs, Class type) {
return fetch(rs).getValues(0, type);
}
@Override
public Cursor fetchLazy(ResultSet rs) {
try {
return fetchLazy(rs, new MetaDataFieldProvider(configuration(), rs.getMetaData()).getFields());
}
catch (SQLException e) {
throw new DataAccessException("Error while accessing ResultSet meta data", e);
}
}
@Override
public Cursor fetchLazy(ResultSet rs, Field>... fields) {
ExecuteContext ctx = new DefaultExecuteContext(configuration());
ExecuteListener listener = new ExecuteListeners(ctx);
ctx.resultSet(rs);
return new CursorImpl(ctx, listener, fields, null, false, true);
}
@Override
public Cursor fetchLazy(ResultSet rs, DataType>... types) {
try {
Field>[] fields = new Field[types.length];
ResultSetMetaData meta = rs.getMetaData();
int columns = meta.getColumnCount();
for (int i = 0; i < types.length && i < columns; i++) {
fields[i] = field(meta.getColumnLabel(i + 1), types[i]);
}
return fetchLazy(rs, fields);
}
catch (SQLException e) {
throw new DataAccessException("Error while accessing ResultSet meta data", e);
}
}
@Override
public Cursor fetchLazy(ResultSet rs, Class>... types) {
return fetchLazy(rs, Utils.dataTypes(types));
}
@Override
public Result fetchFromTXT(String string) {
return fetchFromTXT(string, "{null}");
}
@Override
public Result fetchFromTXT(String string, String nullLiteral) {
return fetchFromStringData(Utils.parseTXT(string, nullLiteral));
}
@Override
public Result fetchFromCSV(String string) {
return fetchFromCSV(string, ',');
}
@Override
public Result fetchFromCSV(String string, char delimiter) {
CSVReader reader = new CSVReader(new StringReader(string), delimiter);
List data = null;
try {
data = reader.readAll();
}
catch (IOException e) {
throw new DataAccessException("Could not read the CSV string", e);
}
finally {
try {
reader.close();
}
catch (IOException ignore) {}
}
return fetchFromStringData(data);
}
@Override
public Result fetchFromJSON(String string) {
List data = new LinkedList();
JSONReader reader = null;
try {
reader = new JSONReader(new StringReader(string));
List records = reader.readAll();
String[] fields = reader.getFields();
data.add(fields);
data.addAll(records);
}
catch (IOException e) {
throw new DataAccessException("Could not read the JSON string", e);
}
finally {
try {
if (reader != null) {
reader.close();
}
}
catch (IOException ignore) {}
}
return fetchFromStringData(data);
}
@Override
public Result fetchFromStringData(String[]... data) {
return fetchFromStringData(list(data));
}
@Override
public Result fetchFromStringData(List data) {
if (data.size() == 0) {
return new ResultImpl(configuration());
}
else {
List> fields = new ArrayList>();
for (String name : data.get(0)) {
fields.add(fieldByName(String.class, name));
}
Result result = new ResultImpl(configuration(), fields);
if (data.size() > 1) {
for (String[] values : data.subList(1, data.size())) {
RecordImpl record = new RecordImpl(fields);
for (int i = 0; i < Math.min(values.length, fields.size()); i++) {
record.values[i] = values[i];
record.originals[i] = values[i];
}
result.add(record);
}
}
return result;
}
}
// -------------------------------------------------------------------------
// XXX Global Query factory
// -------------------------------------------------------------------------
@Override
public WithAsStep with(String alias) {
return new WithImpl(configuration(), false).with(alias);
}
@Override
public WithAsStep with(String alias, String... fieldAliases) {
return new WithImpl(configuration(), false).with(alias, fieldAliases);
}
@Override
public WithStep with(CommonTableExpression>... tables) {
return new WithImpl(configuration(), false).with(tables);
}
@Override
public WithAsStep withRecursive(String alias) {
return new WithImpl(configuration(), true).with(alias);
}
@Override
public WithAsStep withRecursive(String alias, String... fieldAliases) {
return new WithImpl(configuration(), true).with(alias, fieldAliases);
}
@Override
public WithStep withRecursive(CommonTableExpression>... tables) {
return new WithImpl(configuration(), true).with(tables);
}
@Override
public SelectWhereStep selectFrom(Table table) {
SelectWhereStep result = DSL.selectFrom(table);
result.attach(configuration());
return result;
}
@Override
public SelectSelectStep select(Collection extends Field>> fields) {
SelectSelectStep result = DSL.select(fields);
result.attach(configuration());
return result;
}
@Override
public SelectSelectStep select(Field>... fields) {
SelectSelectStep result = DSL.select(fields);
result.attach(configuration());
return result;
}
// [jooq-tools] START [select]
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1) {
return (SelectSelectStep) select(new Field[] { field1 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2) {
return (SelectSelectStep) select(new Field[] { field1, field2 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12, field13 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12, field13, field14 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12, field13, field14, field15 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field field1, Field field2, Field field3, Field field4, Field field5, Field field6, Field field7, Field field8, Field field9, Field field10, Field field11, Field field12, Field field13, Field field14, Field field15, Field field16) {
return (SelectSelectStep) select(new Field[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12, field13, field14, field15, field16 });
}
@Generated("This method was generated using jOOQ-tools")
@Override
public SelectSelectStep> select(Field