Skip to content

Commit 3187d36

Browse files
committed
edit
1 parent 848f22b commit 3187d36

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

src/main/java/org/usf/jquery/core/DBColumn.java

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -365,21 +365,6 @@ default OperationColumn sum() {
365365
default OperationColumn avg() {
366366
return Operator.avg().operation(this);
367367
}
368-
369-
370-
//window functions
371-
372-
default OperationColumn rank() {
373-
return Operator.rank().operation(this);
374-
}
375-
376-
default OperationColumn rowNumber() {
377-
return Operator.rowNumber().operation(this);
378-
}
379-
380-
default OperationColumn denseRank() {
381-
return Operator.denseRank().operation(this);
382-
}
383368

384369
//pipe functions
385370

@@ -423,6 +408,20 @@ static OperationColumn countAll() {
423408
return Operator.count().operation(column("*"));
424409
}
425410

411+
//window functions
412+
413+
static OperationColumn rank() {
414+
return Operator.rank().operation();
415+
}
416+
417+
static OperationColumn rowNumber() {
418+
return Operator.rowNumber().operation();
419+
}
420+
421+
static OperationColumn denseRank() {
422+
return Operator.denseRank().operation();
423+
}
424+
426425
static DBColumn column(@NonNull String value) {
427426
return b-> value;
428427
}

0 commit comments

Comments
 (0)