[jOOQ/jOOQ#12465] Move ANY_VALUE to API generator
This commit is contained in:
parent
efd74633cb
commit
5761ddd40e
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user