[#6427] Deprecate partitionByOne() API
This commit is contained in:
parent
e622af189c
commit
c21eebb065
@ -77,7 +77,12 @@ public interface WindowPartitionByStep<T> extends WindowOrderByStep<T> {
|
||||
* <p>
|
||||
* This clause is not supported as such in the CUBRID and Sybase dialects.
|
||||
* If you use it, jOOQ will simply ignore it.
|
||||
*
|
||||
* @deprecated - 3.10 - [#6427] - This synthetic clause is no longer
|
||||
* supported, use {@link #partitionBy(Field...)} instead, or
|
||||
* omit the clause entirely.
|
||||
*/
|
||||
@Deprecated
|
||||
@Support({ CUBRID, FIREBIRD_3_0, MYSQL_8_0, POSTGRES })
|
||||
WindowOrderByStep<T> partitionByOne();
|
||||
|
||||
|
||||
@ -82,7 +82,12 @@ public interface WindowSpecificationPartitionByStep extends WindowSpecificationO
|
||||
* <p>
|
||||
* This clause is not supported as such in the CUBRID and Sybase dialects.
|
||||
* If you use it, jOOQ will simply ignore it.
|
||||
*
|
||||
* @deprecated - 3.10 - [#6427] - This synthetic clause is no longer
|
||||
* supported, use {@link #partitionBy(Field...)} instead, or
|
||||
* omit the clause entirely.
|
||||
*/
|
||||
@Deprecated
|
||||
@Support({ CUBRID, FIREBIRD_3_0, MYSQL_8_0, POSTGRES })
|
||||
WindowSpecificationOrderByStep partitionByOne();
|
||||
}
|
||||
|
||||
@ -622,6 +622,7 @@ class Function<T> extends AbstractField<T> implements
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public final WindowOrderByStep<T> partitionByOne() {
|
||||
windowSpecification.partitionByOne();
|
||||
return this;
|
||||
|
||||
@ -169,6 +169,7 @@ final class WindowSpecificationImpl extends AbstractQueryPart implements
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated
|
||||
public final WindowSpecificationOrderByStep partitionByOne() {
|
||||
partitionByOne = true;
|
||||
partitionBy.add(one());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user