0.1.dev2192+g7c539c3.d20250403
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 |
---|---|
routing_group |
|
catalog |
|
schema |
|
statement |
Methods
Method | Description |
---|---|
from_flyte_idl() |
. |
serialize_to_string() |
|
short_string() |
:rtype: Text. |
to_flyte_idl() |
:rtype: _presto. |
verbose_string() |
:rtype: Text. |
from_flyte_idl()
def from_flyte_idl(
pb2_object,
) -> n: PrestoQuery
Parameter | Type |
---|---|
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
verbose_string()
def verbose_string()
:rtype: Text
Properties
Property | Type | Description |
---|---|---|
catalog |
:rtype: int |
|
is_empty |
||
routing_group |
The query string. :rtype: str |
|
schema |
:rtype: int |
|
statement |
:rtype: int |