File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
src/main/java/net/sf/jsqlparser/schema Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,30 @@ public Table getTable() {
92
92
return table ;
93
93
}
94
94
95
+ public String getTableName () {
96
+ return table != null ? table .getName () : null ;
97
+ }
98
+
99
+ public String getUnquotedTableName () {
100
+ return table != null ? table .getUnquotedName () : null ;
101
+ }
102
+
103
+ public String getSchemaName () {
104
+ return table != null ? table .getSchemaName () : null ;
105
+ }
106
+
107
+ public String getUnquotedSchemaName () {
108
+ return table != null ? table .getUnquotedSchemaName () : null ;
109
+ }
110
+
111
+ public String getCatalogName () {
112
+ return table != null ? table .getCatalogName () : null ;
113
+ }
114
+
115
+ public String getUnquotedCatalogName () {
116
+ return table != null ? table .getUnquotedCatalogName () : null ;
117
+ }
118
+
95
119
public void setTable (Table table ) {
96
120
this .table = table ;
97
121
}
Original file line number Diff line number Diff line change @@ -115,6 +115,10 @@ public String getDatabaseName() {
115
115
return getIndex (DATABASE_IDX );
116
116
}
117
117
118
+ public String getUnquotedCatalogName () {
119
+ return MultiPartName .unquote (getDatabaseName ());
120
+ }
121
+
118
122
public String getUnquotedDatabaseName () {
119
123
return MultiPartName .unquote (getDatabaseName ());
120
124
}
You can’t perform that action at this time.
0 commit comments