/** * Starts building a new {@code SELECT} query that selects the provided names. * * <p>Note that {@code select(c1, c2)} is just a shortcut for {@code * select().column(c1).column(c2)}. * * @param columns the columns names that should be selected by the query. * @return an in-construction {@code SELECT} query (you will need to provide at least a {@code * FROM} clause to complete the query). */ public static Select.Builder select(Object... columns) { return new Select.Builder(Arrays.asList(columns)); }
/** * Start building a new SELECT query that selects the provided names. * <p/> * Note that {@code select(c1, c2)} is just a shortcut for {@code select().column(c1).column(c2) }. * * @param columns the columns names that should be selected by the query. * @return an in-construction SELECT query (you will need to provide at * least a FROM clause to complete the query). */ public static Select.Builder select(String... columns) { return new Select.Builder(Arrays.asList((Object[]) columns)); }
/** * Start building a new SELECT query that selects the provided names. * <p/> * Note that {@code select(c1, c2)} is just a shortcut for {@code select().column(c1).column(c2) }. * * @param columns the columns names that should be selected by the query. * @return an in-construction SELECT query (you will need to provide at * least a FROM clause to complete the query). */ public static Select.Builder select(String... columns) { return new Select.Builder(Arrays.asList((Object[]) columns)); }
/** * Start building a new SELECT query that selects the provided names. * <p/> * Note that {@code select(c1, c2)} is just a shortcut for {@code select().column(c1).column(c2) }. * * @param columns the columns names that should be selected by the query. * @return an in-construction SELECT query (you will need to provide at * least a FROM clause to complete the query). */ public static Select.Builder select(String... columns) { return new Select.Builder(Arrays.asList((Object[]) columns)); }
/** * Start building a new SELECT query that selects the provided names. * * Note that {@code select(c1, c2)} is just a shortcut for {@code select().column(c1).column(c2) }. * * @param columns the columns names that should be selected by the query. * @return an in-construction SELECT query (you will need to provide at * least a FROM clause to complete the query). */ public static Select.Builder select(String... columns) { return new Select.Builder(Arrays.asList((Object[])columns)); }