gravitino.api.rel.view.View¶
- class gravitino.api.rel.view.View¶
Bases:
AuditableAn interface representing a logical view in a namespace.
- __init__()¶
Methods
__init__()audit_info()columns()Returns the output columns of the view.
comment()Returns the view comment.
Returns the default catalog used to resolve unqualified identifiers.
Returns the default schema used to resolve unqualified identifiers.
name()Returns the view name.
Returns the view properties.
Returns the representations of the view.
sql_for(dialect)Returns the SQL representation for the given dialect.
Return tag operations if the view supports tags.
- abstract columns() list[gravitino.api.rel.column.Column]¶
Returns the output columns of the view.
- comment() str | None¶
Returns the view comment.
- default_catalog() str | None¶
Returns the default catalog used to resolve unqualified identifiers.
- default_schema() str | None¶
Returns the default schema used to resolve unqualified identifiers.
- abstract name() str¶
Returns the view name.
- properties() dict[str, str]¶
Returns the view properties.
- abstract representations() list[gravitino.api.rel.representation.Representation]¶
Returns the representations of the view.
- sql_for(dialect: str | None) SQLRepresentation | None¶
Returns the SQL representation for the given dialect.
- supports_tags() SupportsTags¶
Return tag operations if the view supports tags.
- Raises:
UnsupportedOperationException: If the view does not support tag operations.
- Returns:
SupportsTags: The tag operations supported by the view.