diff --git a/jOOQ/src/main/java/org/jooq/Field.java b/jOOQ/src/main/java/org/jooq/Field.java index 7b32f2f860..7b5ef95ac8 100644 --- a/jOOQ/src/main/java/org/jooq/Field.java +++ b/jOOQ/src/main/java/org/jooq/Field.java @@ -242,48 +242,6 @@ extends @NotNull Field convertTo(Class toType, Function super U, ? extends T> to); - /** - * Create an alias for this field. - *
- * Note that the case-sensitivity of the returned field depends on
- * {@link Settings#getRenderQuotedNames()}. By default, field aliases are
- * quoted, and thus case-sensitive in many SQL dialects!
- *
- * @param alias The alias name
- * @return The field alias
- */
- @NotNull
- @Support
- Field
- * Note that the case-sensitivity of the returned field depends on
- * {@link Settings#getRenderQuotedNames()} and the {@link Name}. By default,
- * field aliases are quoted, and thus case-sensitive in many SQL dialects -
- * use {@link DSL#unquotedName(String...)} for case-insensitive aliases.
- *
- * If the argument {@link Name#getName()} is qualified, then the
- * {@link Name#last()} part will be used.
- *
- * @param alias The alias name
- * @return The field alias
- */
- @NotNull
- @Support
- Field
diff --git a/jOOQ/src/main/java/org/jooq/SelectField.java b/jOOQ/src/main/java/org/jooq/SelectField.java
index c4a4d22cc9..2555fc736a 100644
--- a/jOOQ/src/main/java/org/jooq/SelectField.java
+++ b/jOOQ/src/main/java/org/jooq/SelectField.java
@@ -37,6 +37,10 @@
*/
package org.jooq;
+import org.jooq.conf.Settings;
+import org.jooq.impl.DSL;
+
+import org.jetbrains.annotations.NotNull;
/**
* A
+ * Note that the case-sensitivity of the returned field depends on
+ * {@link Settings#getRenderQuotedNames()}. By default, field aliases are
+ * quoted, and thus case-sensitive in many SQL dialects!
+ *
+ * @param alias The alias name
+ * @return The field alias
+ */
+ @NotNull
+ @Support
+ Field
+ * Note that the case-sensitivity of the returned field depends on
+ * {@link Settings#getRenderQuotedNames()} and the {@link Name}. By default,
+ * field aliases are quoted, and thus case-sensitive in many SQL dialects -
+ * use {@link DSL#unquotedName(String...)} for case-insensitive aliases.
+ *
+ * If the argument {@link Name#getName()} is qualified, then the
+ * {@link Name#last()} part will be used.
+ *
+ * @param alias The alias name
+ * @return The field alias
+ */
+ @NotNull
+ @Support
+ FieldQueryPart to be used exclusively in SELECT
@@ -48,4 +52,46 @@ package org.jooq;
*/
public interface SelectField