From 421c55444d6d8848ae7bcfa9fe387e396ef43366 Mon Sep 17 00:00:00 2001 From: Lukas Eder Date: Fri, 24 Jun 2022 17:14:04 +0200 Subject: [PATCH] [jOOQ/jOOQ#13722] Added disambiguation overloads --- jOOQ/src/main/java/org/jooq/DSLContext.java | 399 ++++++++++++++++++ .../java/org/jooq/impl/DefaultDSLContext.java | 105 +++++ 2 files changed, 504 insertions(+) diff --git a/jOOQ/src/main/java/org/jooq/DSLContext.java b/jOOQ/src/main/java/org/jooq/DSLContext.java index 916f473d77..9db048f04a 100644 --- a/jOOQ/src/main/java/org/jooq/DSLContext.java +++ b/jOOQ/src/main/java/org/jooq/DSLContext.java @@ -13782,6 +13782,405 @@ public interface DSLContext extends Scope { @Blocking Record22 fetchSingle(SelectField field1, SelectField field2, SelectField field3, SelectField field4, SelectField field5, SelectField field6, SelectField field7, SelectField field8, SelectField field9, SelectField field10, SelectField field11, SelectField field12, SelectField field13, SelectField field14, SelectField field15, SelectField field16, SelectField field17, SelectField field18, SelectField field19, SelectField field20, SelectField field21, SelectField field22) throws DataAccessException; + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17, SelectField18)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17, SelectField18, SelectField19)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17, SelectField18, SelectField19, SelectField20)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17, SelectField18, SelectField19, SelectField20, SelectField21)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20, Condition c21) throws DataAccessException, NoDataFoundException, TooManyRowsException; + + /** + * Disambiguation overload of {@link #fetchSingle(Table, Condition...)}. + *

+ * Since jOOQ 3.17, {@link Table} extends {@link SelectField}, and + * {@link Condition} extends {@link Field}. As such, there is an overload + * conflict between {@link #fetchSingle(Table, Condition...)} and + * {@link #fetchSingle(SelectField1, SelectField2, SelectField3, SelectField4, SelectField5, SelectField6, SelectField7, SelectField8, SelectField9, SelectField10, SelectField11, SelectField12, SelectField13, SelectField14, SelectField15, SelectField16, SelectField17, SelectField18, SelectField19, SelectField20, SelectField21, SelectField22)}, which can be + * resolved backwards compatibly with this method. + * + * @return The record. This is never null. + * @throws DataAccessException if something went wrong executing the query + * @throws NoDataFoundException if the query returned now rows + * @throws TooManyRowsException if the query returned more than one record + */ + @NotNull + @Support + @Blocking + R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20, Condition c21, Condition c22) throws DataAccessException, NoDataFoundException, TooManyRowsException; + /** diff --git a/jOOQ/src/main/java/org/jooq/impl/DefaultDSLContext.java b/jOOQ/src/main/java/org/jooq/impl/DefaultDSLContext.java index e44a164ed9..a4e6bbe178 100644 --- a/jOOQ/src/main/java/org/jooq/impl/DefaultDSLContext.java +++ b/jOOQ/src/main/java/org/jooq/impl/DefaultDSLContext.java @@ -4958,6 +4958,111 @@ public class DefaultDSLContext extends AbstractScope implements DSLContext, Seri return (Record22) fetchSingle(new SelectField[] { field1, field2, field3, field4, field5, field6, field7, field8, field9, field10, field11, field12, field13, field14, field15, field16, field17, field18, field19, field20, field21, field22 }); } + @Override + public R fetchSingle(Table table, Condition c1, Condition c2) { + return fetchSingle(table, new Condition[] { c1, c2 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3) { + return fetchSingle(table, new Condition[] { c1, c2, c3 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20, Condition c21) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21 }); + } + + @Override + public R fetchSingle(Table table, Condition c1, Condition c2, Condition c3, Condition c4, Condition c5, Condition c6, Condition c7, Condition c8, Condition c9, Condition c10, Condition c11, Condition c12, Condition c13, Condition c14, Condition c15, Condition c16, Condition c17, Condition c18, Condition c19, Condition c20, Condition c21, Condition c22) { + return fetchSingle(table, new Condition[] { c1, c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15, c16, c17, c18, c19, c20, c21, c22 }); + } + @Override