-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathOrder.java
More file actions
64 lines (49 loc) · 1.04 KB
/
Copy pathOrder.java
File metadata and controls
64 lines (49 loc) · 1.04 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
package jaskell.sql;
import jaskell.script.Directive;
import jaskell.script.Parameter;
import java.util.List;
public class Order implements Directive {
Directive _prefix;
@Override
public String script() {
return String.format("%s ORDER", _prefix.script());
}
@Override
public List<Parameter<?>> parameters() {
return _prefix.parameters();
}
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 static class By extends jaskell.sql.By {
By(String names) {
super(names);
}
By(String... names) {
super(names);
}
By(Directive... names) {
super(names);
}
By(List<Directive> names) {
super(names);
}
}
}