[jOOQ/jOOQ#12465] Move ANY_VALUE to API generator

This commit is contained in:
Lukas Eder 2021-09-23 14:08:35 +02:00
parent efd74633cb
commit 5761ddd40e
2 changed files with 16 additions and 14 deletions

View File

@ -55,6 +55,8 @@ import org.jooq.impl.*;
import org.jooq.tools.*;
import java.util.*;
import java.util.function.*;
import java.util.stream.*;
/**
@ -67,13 +69,13 @@ extends
{
AnyValue(
Field<T> value
Field<T> field
) {
super(
false,
N_ANY_VALUE,
Tools.nullSafeDataType(value),
nullSafeNotNull(value, OTHER)
Tools.nullSafeDataType(field),
nullSafeNotNull(field, (DataType) OTHER)
);
}

View File

@ -19799,6 +19799,17 @@ public class DSL {
// Aggregate functions
// -------------------------------------------------------------------------
/**
* The <code>ANY_VALUE</code> function.
* <p>
* Get any arbitrary value from the group.
*/
@NotNull
@Support
public static <T> AggregateFunction<T> anyValue(Field<T> field) {
return new AnyValue(field);
}
/**
* The <code>AVG</code> function.
*/
@ -23709,17 +23720,6 @@ public class DSL {
// XXX Aggregate functions
// -------------------------------------------------------------------------
/**
* The <code>ANY_VALUE</code> function.
* <p>
* Get any arbitrary value from the group.
*/
@NotNull
@Support
public static <T> AggregateFunction<T> anyValue(Field<T> value) {
return new AnyValue(value);
}
/**
* Get the count(*) function.
*/