public interface CatalogView extends CatalogBaseTable
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExpandedQuery()
Expanded text of the original view definition This is needed because the context such as
current DB is lost after the session, in which view is defined, is gone.
|
String |
getOriginalQuery()
Original text of the view definition that also perserves the original formatting.
|
copy, getComment, getDescription, getDetailedDescription, getOptions, getProperties, getSchemaString getOriginalQuery()
String getExpandedQuery()
For example, for a view that is defined in the context of "default" database with a query
select * from test1, the expanded query text might become select
`test1`.`name`, `test1`.`value` from `default`.`test1`, where table test1 resides in
database "default" and has two columns ("name" and "value").
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.