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

future-architect / uroborosql / #784

24 Sep 2024 09:27AM UTC coverage: 90.525% (+0.02%) from 90.502%
#784

push

web-flow
Add Dialect (#334)

- Oracle12
- Oracle18
- Oracle19
- Oracle21
- Oracle23
- MariaDB5
- MariaDB10

43 of 46 new or added lines in 8 files covered. (93.48%)

8723 of 9636 relevant lines covered (90.53%)

0.91 hits per line

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

0.0
/src/main/java/jp/co/future/uroborosql/mapping/Table.java
1
/**
2
 * Copyright (c) 2017-present, Future Corporation
3
 *
4
 * This source code is licensed under the MIT license found in the
5
 * LICENSE file in the root directory of this source tree.
6
 */
7
package jp.co.future.uroborosql.mapping;
8

9
import jp.co.future.uroborosql.utils.ObjectUtils;
10

11
/**
12
 * テーブル情報
13
 *
14
 * @author ota
15
 */
16
public interface Table {
17
        /**
18
         * テーブル名取得
19
         *
20
         * @return テーブル名
21
         */
22
        String getName();
23

24
        /**
25
         * スキーマ名取得
26
         *
27
         * @return スキーマ名
28
         */
29
        String getSchema();
30

31
        /**
32
         * テーブル識別名の取得
33
         *
34
         * @return テーブル識別名
35
         */
36
        default String getIdentifier() {
37
                if (ObjectUtils.isEmpty(getSchema())) {
×
38
                        return getName();
×
39
                } else {
40
                        return getSchema() + "." + getName();
×
41
                }
42
        }
43
}
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

© 2025 Coveralls, Inc