1.16.10
flytekit.models.presto
This is a deprecated module. Model files for plugins should go alongside the microlib.
See plugins/flytekit-kf-pytorch/flytekitplugins/kfpytorch/models.py as an example.
Directory
Classes
| Class | Description |
|---|---|
PrestoQuery |
flytekit.models.presto.PrestoQuery
class PrestoQuery(
routing_group,
catalog,
schema,
statement,
)Initializes a new PrestoQuery.
| Parameter | Type | Description |
|---|---|---|
routing_group |
||
catalog |
||
schema |
||
statement |
Methods
| Method | Description |
|---|---|
from_flyte_idl() |
|
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: _presto. |
from_flyte_idl()
def from_flyte_idl(
pb2_object,
)| Parameter | Type | Description |
|---|---|---|
pb2_object |
serialize_to_string()
def serialize_to_string()short_string()
def short_string():rtype: Text
to_flyte_idl()
def to_flyte_idl():rtype: _presto.PrestoQuery
Properties
| Property | Type | Description |
|---|---|---|
catalog |
:rtype: int |
|
is_empty |
||
routing_group |
The query string. :rtype: str |
|
schema |
:rtype: int |
|
statement |
:rtype: int |