-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathGroup.java
More file actions
81 lines (62 loc) · 1.32 KB
/
Copy pathGroup.java
File metadata and controls
81 lines (62 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package jaskell.sql;
import jaskell.script.Directive;
import jaskell.script.Parameter;
import java.util.List;
public class Group implements Directive {
Directive _prefix;
@Override
public String script() {
return String.format("%s GROUP", _prefix.script());
}
@Override
public List<Parameter<?>> parameters() {
return _prefix.parameters();
}
public By by() {
By re = new By();
re._prefix = this;
return re;
}
public By by(String names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(String... names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(Directive... names) {
By re = new By(names);
re._prefix = this;
return re;
}
public By by(List<Directive> names) {
By re = new By(names);
re._prefix = this;
return re;
}
public Order order() {
Order re = new Order();
re._prefix = this;
return re;
}
public static class By extends jaskell.sql.By implements CouldOrder, CouldHaving {
public By() {
super();
}
public By(String names) {
super(names);
}
public By(String... names) {
super(names);
}
public By(Directive... names) {
super(names);
}
public By(List<Directive> names) {
super(names);
}
}
}