Interface View
@DeveloperApi
public interface View
An interface representing a persisted view.
-
Method Summary
Modifier and TypeMethodDescriptionString[]
The view column aliases.String[]
The view column comments.The current catalog when the view is created.String[]
The current namespace when the view is created.name()
A name to identify this view.The view properties.query()
The view query SQL text.String[]
The output column names of the query that creates this view.schema()
The schema for the view when the view is created after applying column aliases.
-
Method Details
-
name
String name()A name to identify this view. -
query
String query()The view query SQL text. -
currentCatalog
String currentCatalog()The current catalog when the view is created. -
currentNamespace
String[] currentNamespace()The current namespace when the view is created. -
schema
StructType schema()The schema for the view when the view is created after applying column aliases. -
queryColumnNames
String[] queryColumnNames()The output column names of the query that creates this view. -
columnAliases
String[] columnAliases()The view column aliases. -
columnComments
String[] columnComments()The view column comments. -
properties
The view properties.
-