-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
298 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
from google.protobuf.internal import containers as _containers | ||
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class Engine(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): | ||
__slots__ = [] # type: ignore | ||
ENGINE_UNKNOWN: _ClassVar[Engine] | ||
ENGINE_AURORA: _ClassVar[Engine] | ||
ENGINE_REDSHIFT: _ClassVar[Engine] | ||
ENGINE_ATHENA: _ClassVar[Engine] | ||
ENGINE_UNKNOWN: Engine | ||
ENGINE_AURORA: Engine | ||
ENGINE_REDSHIFT: Engine | ||
ENGINE_ATHENA: Engine | ||
|
||
class Blueprint(_message.Message): | ||
__slots__ = ["aurora", "redshift", "policy"] | ||
AURORA_FIELD_NUMBER: _ClassVar[int] | ||
REDSHIFT_FIELD_NUMBER: _ClassVar[int] | ||
POLICY_FIELD_NUMBER: _ClassVar[int] | ||
aurora: Provisioning | ||
redshift: Provisioning | ||
policy: RoutingPolicy | ||
def __init__(self, aurora: _Optional[_Union[Provisioning, _Mapping]] = ..., redshift: _Optional[_Union[Provisioning, _Mapping]] = ..., policy: _Optional[_Union[RoutingPolicy, _Mapping]] = ...) -> None: ... | ||
|
||
class RoutingPolicy(_message.Message): | ||
__slots__ = ["policy"] | ||
POLICY_FIELD_NUMBER: _ClassVar[int] | ||
policy: bytes | ||
def __init__(self, policy: _Optional[bytes] = ...) -> None: ... | ||
|
||
class PhysicalSnapshot(_message.Message): | ||
__slots__ = ["vdbes", "tables", "location"] | ||
VDBES_FIELD_NUMBER: _ClassVar[int] | ||
TABLES_FIELD_NUMBER: _ClassVar[int] | ||
LOCATION_FIELD_NUMBER: _ClassVar[int] | ||
vdbes: _containers.RepeatedScalarFieldContainer[str] | ||
tables: _containers.RepeatedScalarFieldContainer[str] | ||
location: Engine | ||
def __init__(self, vdbes: _Optional[_Iterable[str]] = ..., tables: _Optional[_Iterable[str]] = ..., location: _Optional[_Union[Engine, str]] = ...) -> None: ... | ||
|
||
class Provisioning(_message.Message): | ||
__slots__ = ["instance_type", "num_nodes"] | ||
INSTANCE_TYPE_FIELD_NUMBER: _ClassVar[int] | ||
NUM_NODES_FIELD_NUMBER: _ClassVar[int] | ||
instance_type: str | ||
num_nodes: int | ||
def __init__(self, instance_type: _Optional[str] = ..., num_nodes: _Optional[int] = ...) -> None: ... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
from google.protobuf.internal import containers as _containers | ||
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class DataType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): | ||
__slots__ = [] # type: ignore | ||
DT_UNKNOWN: _ClassVar[DataType] | ||
DT_INT_32: _ClassVar[DataType] | ||
DT_INT_64: _ClassVar[DataType] | ||
DT_STRING: _ClassVar[DataType] | ||
DT_UNKNOWN: DataType | ||
DT_INT_32: DataType | ||
DT_INT_64: DataType | ||
DT_STRING: DataType | ||
|
||
class Table(_message.Message): | ||
__slots__ = ["name", "columns"] | ||
NAME_FIELD_NUMBER: _ClassVar[int] | ||
COLUMNS_FIELD_NUMBER: _ClassVar[int] | ||
name: str | ||
columns: _containers.RepeatedCompositeFieldContainer[TableColumn] | ||
def __init__(self, name: _Optional[str] = ..., columns: _Optional[_Iterable[_Union[TableColumn, _Mapping]]] = ...) -> None: ... | ||
|
||
class TableColumn(_message.Message): | ||
__slots__ = ["name", "type", "nullable"] | ||
NAME_FIELD_NUMBER: _ClassVar[int] | ||
TYPE_FIELD_NUMBER: _ClassVar[int] | ||
NULLABLE_FIELD_NUMBER: _ClassVar[int] | ||
name: str | ||
type: DataType | ||
nullable: bool | ||
def __init__(self, name: _Optional[str] = ..., type: _Optional[_Union[DataType, str]] = ..., nullable: bool = ...) -> None: ... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
from google.protobuf.internal import containers as _containers | ||
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class QueryInterface(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): | ||
__slots__ = [] # type: ignore | ||
QI_UNKNOWN: _ClassVar[QueryInterface] | ||
QI_SQL_POSTGRESQL: _ClassVar[QueryInterface] | ||
QI_SQL_MYSQL: _ClassVar[QueryInterface] | ||
QI_SQL_AWS_REDSHIFT: _ClassVar[QueryInterface] | ||
QI_SQL_AWS_ATHENA: _ClassVar[QueryInterface] | ||
QI_UNKNOWN: QueryInterface | ||
QI_SQL_POSTGRESQL: QueryInterface | ||
QI_SQL_MYSQL: QueryInterface | ||
QI_SQL_AWS_REDSHIFT: QueryInterface | ||
QI_SQL_AWS_ATHENA: QueryInterface | ||
|
||
class VirtualEngine(_message.Message): | ||
__slots__ = ["name", "qi", "tables", "max_staleness_ms"] | ||
NAME_FIELD_NUMBER: _ClassVar[int] | ||
QI_FIELD_NUMBER: _ClassVar[int] | ||
TABLES_FIELD_NUMBER: _ClassVar[int] | ||
MAX_STALENESS_MS_FIELD_NUMBER: _ClassVar[int] | ||
name: str | ||
qi: QueryInterface | ||
tables: _containers.RepeatedCompositeFieldContainer[VirtualTable] | ||
max_staleness_ms: int | ||
def __init__(self, name: _Optional[str] = ..., qi: _Optional[_Union[QueryInterface, str]] = ..., tables: _Optional[_Iterable[_Union[VirtualTable, _Mapping]]] = ..., max_staleness_ms: _Optional[int] = ...) -> None: ... | ||
|
||
class VirtualTable(_message.Message): | ||
__slots__ = ["name", "writable"] | ||
NAME_FIELD_NUMBER: _ClassVar[int] | ||
WRITABLE_FIELD_NUMBER: _ClassVar[int] | ||
name: str | ||
writable: bool | ||
def __init__(self, name: _Optional[str] = ..., writable: bool = ...) -> None: ... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from interface import blueprint_pb2 as _blueprint_pb2 | ||
from interface import schema_pb2 as _schema_pb2 | ||
from interface import vdbe_pb2 as _vdbe_pb2 | ||
from google.protobuf.internal import containers as _containers | ||
from google.protobuf import descriptor as _descriptor | ||
from google.protobuf import message as _message | ||
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union | ||
|
||
DESCRIPTOR: _descriptor.FileDescriptor | ||
|
||
class SystemState(_message.Message): | ||
__slots__ = ["schema_name", "tables", "vdbes", "blueprint"] | ||
SCHEMA_NAME_FIELD_NUMBER: _ClassVar[int] | ||
TABLES_FIELD_NUMBER: _ClassVar[int] | ||
VDBES_FIELD_NUMBER: _ClassVar[int] | ||
BLUEPRINT_FIELD_NUMBER: _ClassVar[int] | ||
schema_name: str | ||
tables: _containers.RepeatedCompositeFieldContainer[_schema_pb2.Table] | ||
vdbes: _containers.RepeatedCompositeFieldContainer[_vdbe_pb2.VirtualEngine] | ||
blueprint: _blueprint_pb2.Blueprint | ||
def __init__(self, schema_name: _Optional[str] = ..., tables: _Optional[_Iterable[_Union[_schema_pb2.Table, _Mapping]]] = ..., vdbes: _Optional[_Iterable[_Union[_vdbe_pb2.VirtualEngine, _Mapping]]] = ..., blueprint: _Optional[_Union[_blueprint_pb2.Blueprint, _Mapping]] = ...) -> None: ... |