gravitino.api.rel.sql_representation.SQLRepresentation

class gravitino.api.rel.sql_representation.SQLRepresentation(_dialect: str, _sql: str)

Bases: Representation

A SQL-based representation of a view definition.

__init__(_dialect: str, _sql: str) → None

Methods

__init__(_dialect, _sql)

dialect()

Returns the SQL dialect.

sql()

Returns the SQL text.

type()

Returns the representation type.

Attributes

TYPE_SQL

dialect() → str

Returns the SQL dialect.

sql() → str

Returns the SQL text.

type() → str

Returns the representation type.