[#6428] Add missing overload WindowPartitionByStep.partitionBy(Collection<? extends Field<?>>)
This commit is contained in:
parent
c21eebb065
commit
902ac73822
@ -47,6 +47,8 @@ import static org.jooq.SQLDialect.POSTGRES;
|
||||
// ...
|
||||
// ...
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
/**
|
||||
* This type is used for the window function DSL API.
|
||||
* <p>
|
||||
@ -71,6 +73,12 @@ public interface WindowPartitionByStep<T> extends WindowOrderByStep<T> {
|
||||
@Support({ CUBRID, FIREBIRD_3_0, MYSQL_8_0, POSTGRES })
|
||||
WindowOrderByStep<T> partitionBy(Field<?>... fields);
|
||||
|
||||
/**
|
||||
* Add a <code>PARTITION BY</code> clause to the window functions.
|
||||
*/
|
||||
@Support({ CUBRID, FIREBIRD_3_0, MYSQL_8_0, POSTGRES })
|
||||
WindowOrderByStep<T> partitionBy(Collection<? extends Field<?>> fields);
|
||||
|
||||
/**
|
||||
* Add a <code>PARTITION BY 1</code> clause to the window functions, where
|
||||
* such a clause is required by the syntax of an RDBMS.
|
||||
|
||||
@ -621,6 +621,12 @@ class Function<T> extends AbstractField<T> implements
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final WindowOrderByStep<T> partitionBy(Collection<? extends Field<?>> fields) {
|
||||
windowSpecification.partitionBy(fields);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public final WindowOrderByStep<T> partitionByOne() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user