Coverage for packages/sql-smith/src/sql_smith/interfaces/query_interface.py: 100%
3 statements
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
1from abc import abstractmethod
3from .statement_interface import StatementInterface
6class QueryInterface(StatementInterface):
7 @abstractmethod
8 def as_expression(self) -> "ExpressionInterface":
9 raise NotImplementedError("as_expression must be implemented")
11 @abstractmethod
12 def compile(self) -> "Query":
13 raise NotImplementedError("compile must be implemented")