• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

torand / FasterSQL / 13591799490

28 Feb 2025 03:59PM UTC coverage: 65.237% (-1.3%) from 66.563%
13591799490

push

github

web-flow
Merge pull request #14 from torand/having-support

feat: supporting the HAVING clause + IS NULL operator now supports an…

214 of 408 branches covered (52.45%)

Branch coverage included in aggregate %.

273 of 389 new or added lines in 69 files covered. (70.18%)

3 existing lines in 3 files now uncovered.

1079 of 1574 relevant lines covered (68.55%)

3.68 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

62.5
/src/main/java/io/github/torand/fastersql/alias/TableAlias.java
1
package io.github.torand.fastersql.alias;
2

3
import io.github.torand.fastersql.Column;
4
import io.github.torand.fastersql.Context;
5

6
import java.util.stream.Stream;
7

8
import static io.github.torand.fastersql.util.contract.Requires.requireNonBlank;
9

10
/**
11
 * Represents an alias (label) for a table
12
 */
13
public class TableAlias implements Alias {
14
    private final String name;
15

16
    public TableAlias(String name) {
2✔
17
        this.name = requireNonBlank(name, "No name specified");
7✔
18
    }
1✔
19

20
    @Override
21
    public String name() {
22
        return name;
3✔
23
    }
24

25
    // Sql
26

27
    @Override
28
    public String sql(Context context) {
29
        return name;
3✔
30
    }
31

32
    @Override
33
    public Stream<Object> params(Context context) {
NEW
34
        return Stream.empty();
×
35
    }
36

37
    @Override
38
    public Stream<Column> columnRefs() {
NEW
39
        return Stream.empty();
×
40
    }
41

42
    @Override
43
    public Stream<ColumnAlias> aliasRefs() {
NEW
44
        return Stream.empty();
×
45
    }
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc