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

torand / FasterSQL / 12970315111

26 Jan 2025 01:44AM UTC coverage: 47.557% (-1.9%) from 49.458%
12970315111

push

github

torand
feat: add subquery support for more operators

108 of 322 branches covered (33.54%)

Branch coverage included in aggregate %.

0 of 59 new or added lines in 7 files covered. (0.0%)

622 of 1213 relevant lines covered (51.28%)

2.71 hits per line

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

75.0
/src/main/java/io/github/torand/fastersql/predicate/Predicates.java
1
/*
2
 * Copyright (c) 2024 Tore Eide Andersen
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package io.github.torand.fastersql.predicate;
17

18
import io.github.torand.fastersql.Field;
19
import io.github.torand.fastersql.subquery.Subquery;
20

21
import java.util.Collection;
22

23
public final class Predicates {
24
    private Predicates() {}
25

26
    public static In in(LeftOperand left, Collection<?> right) {
27
        return new In(left, right);
6✔
28
    }
29

30
    public static InSubquery in(LeftOperand left, Subquery right) {
NEW
31
        return new InSubquery(left, right);
×
32
    }
33

34
    public static Like like(LeftOperand left, String right) {
35
        return new Like(left, right);
6✔
36
    }
37

38
    public static IsNull isNull(Field operand) {
39
        return new IsNull(operand);
5✔
40
    }
41
}
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