MCPcopy Create free account
hub / github.com/Nemo1870/sql-parse / Table

Class Table

src/main/java/com/sql/parse/schema/Table.java:7–39  ·  view source on GitHub ↗

@date 2019年4月30日上午09:58:02 @desc 表格实体

Source from the content-addressed store, hash-verified

5 * @desc 表格实体
6 */
7public class Table {
8 private String tableName;
9
10 private String alias;
11
12 private boolean useAs;
13
14 public Table(String tableName) {
15 this(tableName, null, false);
16 }
17
18 public Table(String tableName, String alias) {
19 this(tableName, alias, false);
20 }
21
22 public Table(String tableName, String alias, boolean useAs) {
23 this.tableName = tableName;
24 this.alias = alias;
25 this.useAs = useAs;
26 }
27
28 public String getTableName() {
29 return tableName;
30 }
31
32 public String getAlias() {
33 return alias;
34 }
35
36 public boolean isUseAs() {
37 return useAs;
38 }
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected